cURL
curl --request POST \ --url https://agent-studio.thena.ai/api/v1/agent-files/{agent_id}/files \ --header 'Content-Type: multipart/form-data' \ --header 'x-api-key: <api-key>' \ --form file=@example-file
{ "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "bucket_path": "<string>", "size": 123, "mime_type": "<string>", "metadata": {} }
Upload a file for an agent.
Successful Response
The response is of type object.
object