Anthropic integration
List files (Anthropic format)
GET
/anthropic/v1/filesLists uploaded files.
Query Parameters
limit?integer
Maximum files to return
Default
30after_id?string
Cursor for pagination
Header Parameters
x-model-provider?string
Provider to use (defaults to anthropic)
Response Body
application/json
application/json
application/json
curl -X GET "http://localhost:8080/anthropic/v1/files"{
"data": [
{
"id": "string",
"type": "file",
"filename": "string",
"mime_type": "string",
"size_bytes": 0,
"created_at": "2019-08-24T14:15:22Z",
"downloadable": true
}
],
"has_more": true,
"first_id": "string",
"last_id": "string"
}{
"type": "error",
"error": {
"type": "string",
"message": "string"
}
}{
"type": "error",
"error": {
"type": "string",
"message": "string"
}
}