Elnora AI Tasks API

The Tasks API from Elnora AI — 8 operation(s) for tasks.

GitHub OpenAPI

Operations 12

GET /tasks List all user's tasks across projects #
POST /tasks Create a new task #
GET /tasks/{id} Get task with messages #
PUT /tasks/{id} Update task (title, status) #
DELETE /tasks/{id} Archive a task #
POST /tasks/{id}/approvals Approve or deny one exact pending physical action #
POST /tasks/{id}/messages Send a message in a task #
GET /tasks/{id}/messages Get messages for a task with cursor pagination #
POST /tasks/{id}/unarchive Unarchive a task — flips status back to `Active` so it reappears in default… #
GET /tasks/{taskId}/attachments List a task's attachments (agent-generated deliverables + chat attachments) #
DELETE /tasks/{taskId}/attachments/{attachmentId} Delete a task attachment (removes the S3 object + DB row) #
GET /tasks/{taskId}/attachments/{attachmentId}/content Get a presigned download URL for a task attachment #

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/elnora-ai:elnora-ai-tasks-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

elnora-ai-tasks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Elnora Tasks API
  version: v1
  description: 'The Elnora core REST API. Authenticate with an API key in the `X-API-Key` header (or `Authorization: Bearer`). Base URL: https://platform.elnora.ai/api/v1.'
servers:
- url: https://platform.elnora.ai/api/v1
  description: Production
security:
- ApiKey: []
- Bearer: []
tags:
- name: Tasks
paths:
  /tasks:
    get:
      tags:
      - Tasks
      summary: List all user's tasks across projects
      parameters:
      - name: Page
        in: query
        schema:
          maximum: 2147483647
          minimum: 1
          type: integer
          format: int32
      - name: PageSize
        in: query
        schema:
          maximum: 100
          minimum: 1
          type: integer
          format: int32
      - name: SortBy
        in: query
        schema:
          type: string
      - name: SortDirection
        in: query
        schema:
          type: string
      - name: status
        in: query
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskDTOPagedResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      operationId: getTasks
      x-operation-id-source: derived
    post:
      tags:
      - Tasks
      summary: Create a new task
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTask'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Task'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      operationId: postTasks
      x-operation-id-source: derived
  /tasks/{id}:
    get:
      tags:
      - Tasks
      summary: Get task with messages
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskDetail'
      operationId: getTasksById
      x-operation-id-source: derived
    put:
      tags:
      - Tasks
      summary: Update task (title, status)
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateTask'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Task'
      operationId: putTasksById
      x-operation-id-source: derived
    delete:
      tags:
      - Tasks
      summary: Archive a task
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '204':
          description: No Content
      operationId: deleteTasksById
      x-operation-id-source: derived
  /tasks/{id}/approvals:
    post:
      tags:
      - Tasks
      summary: Approve or deny one exact pending physical action
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DecidePhysicalApproval'
      responses:
        '202':
          description: Accepted
        '409':
          description: Conflict
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      operationId: postTasksByIdApprovals
      x-operation-id-source: derived
  /tasks/{id}/messages:
    post:
      tags:
      - Tasks
      summary: Send a message in a task
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SendMessage'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskMessage'
      operationId: postTasksByIdMessages
      x-operation-id-source: derived
    get:
      tags:
      - Tasks
      summary: Get messages for a task with cursor pagination
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: Cursor
        in: query
        schema:
          type: string
      - name: Limit
        in: query
        schema:
          maximum: 100
          minimum: 1
          type: integer
          format: int32
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskMessageDTOCursorPagedResponse'
      operationId: getTasksByIdMessages
      x-operation-id-source: derived
  /tasks/{id}/unarchive:
    post:
      tags:
      - Tasks
      summary: Unarchive a task — flips status back to `Active` so it reappears in default…
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '204':
          description: No Content
      operationId: postTasksByIdUnarchive
      x-operation-id-source: derived
  /tasks/{taskId}/attachments:
    get:
      tags:
      - Tasks
      summary: List a task's attachments (agent-generated deliverables + chat attachments)
      parameters:
      - name: taskId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TaskAttachment'
      operationId: getTasksByTaskIdAttachments
      x-operation-id-source: derived
  /tasks/{taskId}/attachments/{attachmentId}:
    delete:
      tags:
      - Tasks
      summary: Delete a task attachment (removes the S3 object + DB row)
      parameters:
      - name: taskId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: attachmentId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      operationId: deleteTasksByTaskIdAttachmentsByAttachmentId
      x-operation-id-source: derived
  /tasks/{taskId}/attachments/{attachmentId}/content:
    get:
      tags:
      - Tasks
      summary: Get a presigned download URL for a task attachment
      parameters:
      - name: taskId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: attachmentId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Success
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      operationId: getTasksByTaskIdAttachmentsByAttachmentIdContent
      x-operation-id-source: derived
components:
  schemas:
    SendMessage:
      required:
      - content
      type: object
      properties:
        content:
          maxLength: 100000
          minLength: 1
          type: string
        attachmentIds:
          type:
          - array
          - 'null'
          items:
            type: string
            format: uuid
        contextFileIds:
          type:
          - array
          - 'null'
          items:
            type: string
            format: uuid
        referencedFileIds:
          type:
          - array
          - 'null'
          items:
            type: string
            format: uuid
        openFileReference:
          $ref: '#/components/schemas/OpenFileReference'
        clientTimeZone:
          maxLength: 64
          pattern: ^[A-Za-z0-9][A-Za-z0-9._+-]*(?:/[A-Za-z0-9][A-Za-z0-9._+-]*)*$
          type:
          - string
          - 'null'
      additionalProperties: false
    TaskFileReference:
      type: object
      properties:
        id:
          type: string
          format: uuid
        fileId:
          type: string
          format: uuid
        fileName:
          type:
          - string
          - 'null'
        fileType:
          type:
          - string
          - 'null'
        createdAt:
          type: string
          format: date-time
        referenceType:
          type:
          - string
          - 'null'
        parentFolderId:
          type:
          - string
          - 'null'
          format: uuid
        isInKnowledgeBase:
          type:
          - boolean
          - 'null'
        messageId:
          type:
          - string
          - 'null'
          format: uuid
      additionalProperties: false
    UpdateTask:
      type: object
      properties:
        title:
          type:
          - string
          - 'null'
        status:
          type:
          - string
          - 'null'
      additionalProperties: false
    Selection:
      type: object
      properties:
        start:
          type:
          - integer
          - 'null'
          format: int32
        end:
          type:
          - integer
          - 'null'
          format: int32
        strand:
          type:
          - integer
          - 'null'
          format: int32
        viewer:
          type:
          - string
          - 'null'
      additionalProperties: {}
    Task:
      type: object
      properties:
        id:
          type: string
          format: uuid
        title:
          type:
          - string
          - 'null'
        status:
          type:
          - string
          - 'null'
        messageCount:
          type: integer
          format: int32
        lastMessageAt:
          type:
          - string
          - 'null'
          format: date-time
        createdAt:
          type: string
          format: date-time
      additionalProperties: false
    TaskDTOPagedResponse:
      type: object
      properties:
        items:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/Task'
        page:
          type: integer
          format: int32
        pageSize:
          type: integer
          format: int32
        totalCount:
          type: integer
          format: int32
        totalPages:
          type: integer
          format: int32
        hasNextPage:
          type: boolean
          readOnly: true
        hasPreviousPage:
          type: boolean
          readOnly: true
      additionalProperties: false
    DecidePhysicalApproval:
      required:
      - approval_id
      - decision
      type: object
      properties:
        approval_id:
          maxLength: 36
          minLength: 0
          type: string
        decision:
          minLength: 1
          pattern: ^(approve|deny)$
          type: string
      additionalProperties: false
    TaskMessage:
      type: object
      properties:
        id:
          type: string
          format: uuid
        role:
          type:
          - string
          - 'null'
        content:
          type:
          - string
          - 'null'
        metadata: {}
        sequence:
          type: integer
          format: int32
        createdAt:
          type: string
          format: date-time
        attachments:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/TaskAttachment'
      additionalProperties: false
    CreateTask:
      type: object
      properties:
        title:
          maxLength: 100
          type:
          - string
          - 'null'
        initialMessage:
          maxLength: 100000
          type:
          - string
          - 'null'
        contextFileIds:
          type:
          - array
          - 'null'
          items:
            type: string
            format: uuid
        referencedFileIds:
          type:
          - array
          - 'null'
          items:
            type: string
            format: uuid
        clientTimeZone:
          maxLength: 64
          pattern: ^[A-Za-z0-9][A-Za-z0-9._+-]*(?:/[A-Za-z0-9][A-Za-z0-9._+-]*)*$
          type:
          - string
          - 'null'
      additionalProperties: false
    ProblemDetails:
      type: object
      properties:
        type:
          type:
          - string
          - 'null'
        title:
          type:
          - string
          - 'null'
        status:
          type:
          - integer
          - 'null'
          format: int32
        detail:
          type:
          - string
          - 'null'
        instance:
          type:
          - string
          - 'null'
      additionalProperties: {}
    OpenFileReference:
      type: object
      properties:
        kind:
          type:
          - string
          - 'null'
        fileId:
          type:
          - string
          - 'null'
          format: uuid
        attachmentId:
          type:
          - string
          - 'null'
          format: uuid
        fileName:
          type:
          - string
          - 'null'
        contentType:
          type:
          - string
          - 'null'
        selection:
          $ref: '#/components/schemas/Selection'
      additionalProperties: false
    TaskAttachment:
      type: object
      properties:
        id:
          type: string
          format: uuid
        filename:
          type:
          - string
          - 'null'
        contentType:
          type:
          - string
          - 'null'
        sizeBytes:
          type:
          - integer
          - 'null'
          format: int64
        createdAt:
          type: string
          format: date-time
        versionGroupId:
          type:
          - string
          - 'null'
          format: uuid
        versionNumber:
          type: integer
          format: int32
      additionalProperties: false
    TaskDetail:
      type: object
      properties:
        id:
          type: string
          format: uuid
        title:
          type:
          - string
          - 'null'
        status:
          type:
          - string
          - 'null'
        messageCount:
          type: integer
          format: int32
        lastMessageAt:
          type:
          - string
          - 'null'
          format: date-time
        createdAt:
          type: string
          format: date-time
        messages:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/TaskMessage'
        fileReferences:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/TaskFileReference'
      additionalProperties: false
    TaskMessageDTOCursorPagedResponse:
      type: object
      properties:
        items:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/TaskMessage'
        nextCursor:
          type:
          - string
          - 'null'
        hasMore:
          type: boolean
      additionalProperties: false
  securitySchemes:
    Bearer:
      type: apiKey
      description: "JWT Authorization header using the Bearer scheme. \n\n Enter 'Bearer' [space] and then your token in the text input below.\n\nExample: \"Bearer 12345abcdef\""
      name: Authorization
      in: header
    ApiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: Your Elnora API key (prefixed `elnora_live_`). Create one in the dashboard under Settings → API keys.