agents
sessions
users
docs
tasks
executions
temporal
healthz
docs
Create Agent Doc
docs
Create Agent Doc
POST
/
agents
/
{agent_id}
/
docs
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"title": "<string>",
"content": "<string>",
"embeddings": [
123
],
"modality": "<string>",
"language": "<string>",
"embedding_model": "<string>",
"embedding_dimensions": 123
}
Authorizations
Path Parameters
Query Parameters
Body
application/json
Payload for creating a doc
Response
201
application/json
Successful Response
The response is of type object
.
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"title": "<string>",
"content": "<string>",
"embeddings": [
123
],
"modality": "<string>",
"language": "<string>",
"embedding_model": "<string>",
"embedding_dimensions": 123
}