Skip to main content
POST
/
api
/
v1
/
agent-files-mappings
/
create
Attach file to agent
curl --request POST \
  --url https://api.kupe.in/api/v1/agent-files-mappings/create \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "upload_file_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "message": "<string>",
  "data": "<unknown>"
}

Documentation Index

Fetch the complete documentation index at: https://kupe.in/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
default:YOUR_KUPE_API_KEY
required

Kupe dashboard API key for your user.

Body

application/json
agent_id
string<uuid>
required
upload_file_id
string<uuid>
required

Response

Mapping created — data is the mapping row.

message
string
required
data
any | null

Payload or null