> For the complete documentation index, see [llms.txt](https://picaso-recod.gitbook.io/recod-product-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://picaso-recod.gitbook.io/recod-product-documentation/concept-design/architecture.md).

# 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

![](/files/Bvf7PAfbHREMNUgYRdw8)

{% 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
