Uploads
Create a direct upload session for a local file
Upload bridge for clients and AI assistants with local/sandbox files. Creates a short-lived pre-signed upload target. Complete the session to register an opaque source_file artifact ID.
post/api/artifact-uploads
Request
- Base URL: https://courseprofiler.com
- URL: https://courseprofiler.com/api/artifact-uploads
- Auth: one of:
- API key in header X-API-Key
- HTTP bearer
- none
Request body
Example request
{
"file_name": "course.gpx",
"content_type": "application/gpx+xml"
}Response
Upload session created
Example response
{
"upload_id": "upl_01JABCDEF",
"complete_url": "/api/artifact-uploads/upl_01JABCDEF/complete",
"warnings": [
{
"code": "missing_elevation"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.