Skip to main content
DELETE
/
api
/
v1
/
agent-files-mappings
/
agent
/
{agent_id}
/
file
/
{upload_file_id}
Detach file from agent
curl --request DELETE \
  --url https://api.kupe.in/api/v1/agent-files-mappings/agent/{agent_id}/file/{upload_file_id} \
  --header 'x-api-key: <api-key>'
{
  "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.

Path Parameters

agent_id
string<uuid>
required
upload_file_id
string<uuid>
required

Response

Mapping removed from agent (vector chunk metadata updated server-side).

message
string
required
data
any | null

Payload or null