embeddingForTrack
Query
Generate an embedding vector for the detection described by the provided track ID and timestamp.
Response
Returns EmbeddingResponse
Arguments
| Name | Type | Description |
|---|---|---|
trackId | ID! | The ID of the track |
timestamp | DateTimeOffset! | A timestamp within the lifetime of the track. An embedding will be generated for the detection closest to this timestamp for the specified track. |
options | EmbeddingOptionsInput | Optional embedding parameters. |
Example
query embeddingForTrack( $trackId: ID!, $timestamp: DateTimeOffset!, $options: EmbeddingOptionsInput) { embeddingForTrack( trackId: $trackId, timestamp: $timestamp, options: $options ) { results { embedding regionIndex } }}{ "trackId": "880c9e22-73f2-818f-82a2-1d4ebb0ec766", "timestamp": "2025-01-01T00:00:00.000Z"}{ "data": { "embeddingForTrack": { "results": [ { "embedding": [ 361.13 ], "regionIndex": 459 } ] } }}