cURL
curl --request POST \ --url https://api.example.com/api/models/{model_id}/infer \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file' \ --form model_version_id=3c90c3cc-0d44-4b50-8888-8dd25736052a \ --form output_type=csv
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>", "input": "<unknown>", "ctx": {} } ] }
Run synchronous inference on an uploaded file.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Supported inference output formats.
json
csv
parquet
Successful Response
Was this page helpful?