Get latest invocations by keys ↗
noSummary: Returns the latest invocations for the given keys on a source.
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.
Returns the latest invocations for the given keys on a source.
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/sources/{source_id}/invocations/latest-by-keys:
post:
tags:
- Invocation
summary: Get latest invocations by keys
description: Returns the latest invocations for the given keys on a source.
operationId: latest_invocations_by_keys
parameters:
- name: source_id
in: path
description: Source ID
required: true
schema:
$ref: '#/components/schemas/SourceId'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/LatestByKeysRequest'
required: true
responses:
'200':
description: Latest invocation per object key
content:
application/json:
schema:
$ref: '#/components/schemas/HashMap'
'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: Source not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
components:
schemas:
SourceId:
type: string
format: uuid
LatestByKeysRequest:
type: object
required:
- object_keys
properties:
object_keys:
type: array
items:
type: string
HashMap:
type: object
additionalProperties:
type: object
required:
- id
- status
- metadata
- created_at
properties:
created_at:
type: string
format: date-time
id:
$ref: '#/components/schemas/JobId'
metadata:
$ref: '#/components/schemas/IndexJobMetadata'
source_id:
oneOf:
- type: 'null'
- $ref: '#/components/schemas/SourceId'
status:
$ref: '#/components/schemas/JobStatus'
propertyNames:
type: string
ErrorResponse:
type: object
required:
- error
- message
properties:
error:
type: string
message:
type: string
JobId:
type: string
format: uuid
IndexJobMetadata:
allOf:
- $ref: '#/components/schemas/IndexJobMetadataKind'
- type: object
required:
- database_name
- collection_name
properties:
collection_name:
type: string
database_name:
type: string
JobStatus:
oneOf:
- type: string
enum:
- pending
- type: string
enum:
- processing
- type: object
required:
- complete
properties:
complete:
type: object
required:
- finished_at
- duration_ms
properties:
duration_ms:
type: integer
format: int64
minimum: 0
finished_at:
type: string
format: date-time
- type: object
required:
- failed
properties:
failed:
type: object
required:
- error
properties:
error:
type: string
- type: string
enum:
- cancelled
IndexJobMetadataKind:
oneOf:
- type: string
enum:
- web_scrape
- type: object
required:
- github
properties:
github:
type: object
required:
- git_ref_identifier
properties:
git_ref_identifier:
$ref: '#/components/schemas/GitRefIdentifier'
- type: object
required:
- s3
properties:
s3:
type: object
required:
- bucket_name
properties:
additional_metadata:
type:
- object
- 'null'
additionalProperties: {}
propertyNames:
type: string
bucket_name:
type: string
custom_id:
type:
- string
- 'null'
object_key:
type:
- string
- 'null'
- type: string
enum:
- Unknown
GitRefIdentifier:
oneOf:
- type: object
required:
- sha
properties:
sha:
type: string
- type: object
required:
- branch
properties:
branch:
type: stringBuilt with Mintlify.
Link last verified
June 7, 2026.
View original ↗
Source: Chroma Docs
Link last verified: 2026-04-05