New to Corsair? See API access, authentication, and error handling.
Account
get
account.get
Check that the key works; the route answers 200 either way, so authenticated reports whether a workspace actually came back
Risk: read
Images
upload
images.upload
Upload one image to a project by URL or base64; a duplicate is reported as such rather than as a failure
Risk: write
Output
Infer
infer
infer
Run a trained model on an image on the serverless inference host, returning predictions and their count; billed per image
Risk: write
Output
predictions full type
predictions full type
Models
list
models.list
List a project’s trained models with their task, architecture and metrics; each url is the model ID infer takes
Risk: read
Output:
object[]
Output full type
Output full type
Project
create
project.create
Create a project of a given type in an annotation group, optionally licensed onto Universe
Risk: write
Output
delete
project.delete
Delete a project and its images, versions and models
Risk: destructive
Output: empty object
get
project.get
Read a project with its classes, splits and dataset versions, newest first
Risk: read
Output
workspace full type
workspace full type
project full type
project full type
versions full type
versions full type
Version
delete
version.delete
Delete a dataset version
Risk: destructive
Output: empty object
get
version.get
Read a dataset version with its image count, splits, and the preprocessing and augmentation it applied
Risk: read
Output
workspace full type
workspace full type
project full type
project full type
version full type
version full type
Workspace
get
workspace.get
Read a workspace and its projects with image, annotation and version counts
Risk: read
Output
workspace full type
workspace full type