Skip to main content
POST
/
api
/
v1
/
agent-files
/
{agent_id}
/
urls
Add Url To Agent
curl --request POST \
  --url https://agent-studio.thena.ai/api/v1/agent-files/{agent_id}/urls \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "url": "<string>"
}'
{
  "status": "<string>",
  "file_id": "<string>",
  "job_id": "<string>"
}

Authorizations

x-api-key
string
header
required

Path Parameters

agent_id
string<uuid> | null
required

Body

application/json

Request model for adding a URL to agent's knowledge base.

url
string<uri>
required

The URL to add to the agent's knowledge base

Required string length: 1 - 2083

Response

Successful Response

Response model for adding a URL to agent's knowledge base.

status
string
required

Status of the operation

Allowed value: "success"
file_id
string
required

UUID of the created file record

job_id
string
required

UUID of the background processing job

โŒ˜I