Skip to main content
POST
/
v1
/
agent-attachments
/
{id}
/
resolve
Resolve an attachment for a specific model
curl --request POST \
  --url https://api.runtools.ai/v1/agent-attachments/{id}/resolve \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "<string>",
  "isMostRecentUserAttachment": true
}
'
{
  "data": {
    "attachmentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "model": "<string>",
    "kind": "image",
    "url": "<string>",
    "text": "<string>"
  }
}

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

Body

application/json
model
string
required
isMostRecentUserAttachment
boolean
default:true

Response

200 - application/json

Resolved representation.

data
object