Skip to main content
POST
/
executions
/
{executionId}
/
context-files
cURL
curl --request POST \
  --url https://odyssey.asteroid.ai/agents/v2/executions/{executionId}/context-files \
  --header 'Content-Type: multipart/form-data' \
  --header 'X-Asteroid-Agents-Api-Key: <api-key>'
"Files uploaded."

Authorizations

X-Asteroid-Agents-Api-Key
string
header
required

Path Parameters

executionId
string<uuid>
required

Upload files to a running execution that is already in progress. If you want to attach files to an execution that is not yet running, see the /temp-files endpoint.

Body

multipart/form-data
files
file[]
required

Response

The request has succeeded.

The response is of type enum<string>.

Available options:
Files uploaded.