Stage a file for an execution
curl --request POST \
--url https://odyssey.asteroid.ai/agents/v2/temp-files/{organizationId} \
--header 'Content-Type: multipart/form-data' \
--header 'X-Asteroid-Agents-Api-Key: <api-key>' \
--form 'files=<string>' \
--form files.items='@example-file'{
"tempFiles": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
]
}Files
Stage a file for an execution
Stage a file prior to starting an execution, so that it can be used when the execution is started. See the /agents//execute to understand how to pass the returned file information to the execution endpoint.
POST
/
temp-files
/
{organizationId}
Stage a file for an execution
curl --request POST \
--url https://odyssey.asteroid.ai/agents/v2/temp-files/{organizationId} \
--header 'Content-Type: multipart/form-data' \
--header 'X-Asteroid-Agents-Api-Key: <api-key>' \
--form 'files=<string>' \
--form files.items='@example-file'{
"tempFiles": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
]
}⌘I

