Metadata

​Metadata is an optional field can be sent in addition to any API request by adding "request_metadata" field to the body of the request in JSON format AI GEN return the submitted data in the response

For example

Request
{
    "image": "<base64 image>",
    "request_metadata": {
        "some_ref_id": 12345,
        "example_data": "test",
    }
}
Response
{
    "result": "<some_result>",
    "response_id": "5502d61d-8509-4478-b5b3-86ab6fcc106e",
    "request_metadata": {
        "some_ref_id": 12345,
        "example_data": "test",
    }
}

Last updated