# Architecture

Every time you send image or video data with HTTP POST request API, make sure the token and feature parameters used are not empty. if you do not change the other parameters (confidence, label and threshold) it will be automatically in the default state.

{% hint style="warning" %}
Make sure the token filled in the parameter has not expired. if the token expires refresh the token to get a new token.
{% endhint %}

How our API works

![](https://1361682710-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9e58W0CrNn9IzKWtBWLW%2Fuploads%2Fk64K09cqR34GFRco69PW%2FDrawing%20\(1\).png?alt=media\&token=7a782e4a-4957-439f-841e-ce8b23828fb5)

{% hint style="success" %}
You can try the API after registering and also enter the token in your account dashboard.
{% endhint %}

## Verifying Signatures

After you send a POST request with image or video data and the required parameters, the response back will be given in the form of JSON and contains a URL link to download the data.

```
{
    "msisdn": "0811111111",
    "id_camera": "E38433829",
    "timestamp": "2022-02-07 10:01:00",
    "file_name": "202202080518381740233992021-07-14T10-05-12.mp4",
    "nd": "1311651174972",
    "object_list": "default",
    "confidence": false,
    "label": false,
    "threshold": 0.5,
    "image": false,
    "uuid": "166b6b3b-81cb-4d0c-b2df-26c4546d2a01",
    "feature": "object detection",
    "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NDQzODM4OTUsImlzcyI6IjUyIn0.KNU3IlK3qM6A-2fG9jF8retDOF6DTpSRCr3v39hFeW4"
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://picaso-recod.gitbook.io/recod-product-documentation/concept-design/architecture.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
