Skip to content

embeddingForTrack

Query

Generate an embedding vector for the detection described by the provided track ID and timestamp.

Response

Returns EmbeddingResponse

Arguments

NameTypeDescription
trackIdID!

The ID of the track

timestampDateTimeOffset!

A timestamp within the lifetime of the track. An embedding will be generated for the detection closest to this timestamp for the specified track.

optionsEmbeddingOptionsInput

Optional embedding parameters.

Example

query embeddingForTrack(
$trackId: ID!,
$timestamp: DateTimeOffset!,
$options: EmbeddingOptionsInput
) {
embeddingForTrack(
trackId: $trackId,
timestamp: $timestamp,
options: $options
) {
results {
embedding
regionIndex
}
}
}