Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Avala Tasks API
description: '# Authentication
## Generating an API Key
The Avala SDK uses API keys to authenticate requests. You can create and manage your API keys from the
Settings page of Mission Control.
Follow these steps to generate a new API key:
1. Open your settings page by clicking on your user avatar located at the top right-hand corner of any
Mission Control screen, and select `Settings`.
2. From the left-hand sub-menu, select `Security & Identity`.
3. Click on `New API Key`, enter a name for the key, and then click `Create key`.
The new key will be automatically copied to your clipboard. Please note, for security reasons, the key
will not be accessible once you close the window. Ensure you store it in a safe location before closing
the pop-up modal.
### Video walkthrough of API key generation
## Authenticating with an API Key
This is the easiest part! Just add a header named `X-Avala-Api-Key` to your requests and set the
previously generated API Key as the value.'
termsOfService: https://avala.ai/legal/terms
contact:
email: support@avala.ai
version: v1
servers:
- url: https://api.avala.ai/api/v1
security:
- API_Key: []
- JWT: []
tags:
- name: Tasks
description: List and retrieve annotation tasks.
paths:
/tasks/:
parameters: []
get:
operationId: tasks_list
description: Customer-facing read-only Tasks API.
parameters:
- name: ordering
in: query
description: Which field to use when ordering the results.
required: false
schema:
type: string
- name: cursor
in: query
description: The pagination cursor value.
required: false
schema:
type: string
- name: limit
in: query
description: Number of results to return per page.
required: false
schema:
type: integer
- name: order
in: query
description: Sets the CursorPagination `offset` when `cursor` is also set. e.g. `cursor=...&offset=1`
schema:
type: string
- name: reverse
in: query
description: Sets the CursorPagination `reverse` when `cursor` is also set. e.g. `cursor=...&reverse=1`.
schema:
type: integer
responses:
'200':
description: ''
content:
application/json:
schema:
required:
- results
type: object
properties:
next:
type:
- string
- 'null'
format: uri
previous:
type:
- string
- 'null'
format: uri
results:
type: array
items:
$ref: '#/components/schemas/CustomerTask'
tags:
- Tasks
summary: Tasks list
x-summary-source: derived
/tasks/{uid}/:
parameters:
- name: uid
in: path
required: true
schema:
type: string
get:
operationId: tasks_read
description: Customer-facing read-only Tasks API.
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/CustomerTask'
tags:
- Tasks
summary: Tasks read
x-summary-source: derived
components:
schemas:
CustomerTask:
type: object
properties:
uid:
title: Uid
type: string
format: uuid
readOnly: true
type:
title: Type
type: string
enum:
- image-annotation
- video-annotation
- point-cloud-annotation
- point-cloud-objects
- data-collection
readOnly: true
name:
title: Name
type: string
enum:
- crop
- box
- cuboid
- classification
- polygon
- point cloud segmentation
- point cloud polyline
- image segmentation
- object mask
- cuboid 3d
- polyline 3d
readOnly: true
status:
title: Status
type: string
enum:
- pending
- completed
readOnly: true
project:
title: Project
type: string
format: uuid
readOnly: true
created_at:
title: Created at
type: string
format: date-time
readOnly: true
updated_at:
title: Updated at
type: string
format: date-time
readOnly: true
securitySchemes:
JWT:
type: apiKey
name: Authorization
in: header
description: JWT token with 'JWT' prefix, e.g., 'JWT eyJhbGciOiJIUzI1NiIsInR...'
API_Key:
type: apiKey
name: X-Avala-Api-Key
in: header
description: API key for authentication. Generate one in Mission Control Settings > Security & Identity.