Skip to main content
POST
/
v1
/
agent-attachments
/
{id}
/
complete
Finalize an attachment after upload
curl --request POST \
  --url https://api.runtools.ai/v1/agent-attachments/{id}/complete \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "attachment": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "threadId": "<string>",
      "filename": "<string>",
      "contentType": "<string>",
      "sizeBytes": 123,
      "status": "pending",
      "materializations": [
        {}
      ]
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.runtools.ai/llms.txt

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

Authorizations

Authorization
string
header
required

WorkOS session token or RunTools API key (rt_live_* / rt_test_*). Used in Authorization: Bearer <token> header.

Path Parameters

id
string<uuid>
required

Response

200 - application/json

Attachment metadata.

data
object