Cancel invocation ↗
noSummary: Cancels an invocation.
Original Documentation
Documentation Index#
Fetch the complete documentation index at: https://docs.trychroma.com/llms.txt Use this file to discover all available pages before exploring further.
Cancels an invocation.
OpenAPI#
openapi: 3.1.0
info:
title: Chroma Sync Service
description: >-
Chroma Sync Service provides APIs for managing data synchronization sources
and invocations. The service supports syncing content from GitHub
repositories, web scrape targets, and S3 buckets to Chroma collections.
license:
name: ''
version: 0.1.0
servers:
- url: https://sync.trychroma.com
security: []
paths:
/api/v1/invocations/{invocation_id}:
put:
tags:
- Invocation
summary: Cancel invocation
description: Cancels an invocation.
operationId: cancel_pending_job
parameters:
- name: invocation_id
in: path
description: Invocation ID
required: true
schema:
$ref: '#/components/schemas/JobId'
responses:
'202':
description: Invocation cancellation successful
content:
application/json:
schema:
$ref: '#/components/schemas/CancelJobResponse'
'400':
description: Bad request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Invocation not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'412':
description: Invocation is not in a cancelable state
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
security:
- x-chroma-token: []
components:
schemas:
JobId:
type: string
format: uuid
CancelJobResponse:
type: object
ErrorResponse:
type: object
required:
- error
- message
properties:
error:
type: string
message:
type: string
securitySchemes:
x-chroma-token:
type: apiKey
in: header
name: x-chroma-tokenLink last verified
June 7, 2026.
View original ↗
Source: Chroma Docs
Link last verified: 2026-03-04