Skip to main content

Module types

Module types 

Source
Expand description

JSON request and response types for the Chalk REST API.

These structs mirror the shapes the Chalk HTTP API expects and returns. We use serde to automatically convert between Rust structs and JSON.

Structs§

BatchReport
Status report for an offline query batch job.
ChalkError
A structured error returned by the Chalk server.
DatasetRevision
A single revision (run) of an offline query dataset.
FeatureEncodingOptions
Controls how structured feature types are encoded in the response.
FeatureMeta
Metadata about how a single feature was resolved.
FeatureResult
A single feature value in the query response.
GetOfflineQueryJobResponse
Response from GET /v2/offline_query/{revision_id}.
GetOfflineQueryStatusResponse
Response from GET /v4/offline_query/{job_id}/status.
OfflineQueryInput
Inline input data for an offline query — a columnar table.
OfflineQueryInputSql
Use a SQL query to generate input data.
OfflineQueryInputUri
Point to an existing Parquet file on S3/GCS.
OfflineQueryRequest
The body we POST to /v4/offline_query.
OfflineQueryResponse
The response from /v4/offline_query.
OnlineQueryContext
Tags and resolver constraints for a query.
OnlineQueryRequest
The body we POST to /v1/query/online.
OnlineQueryResponse
The response from /v1/query/online.
QueryMeta
Metadata about the overall query execution.
QueryOptions
Options that control query behavior (used by both query and query_bulk).
ResolverException
Details about a Python exception that occurred inside a resolver.
ResourceRequests
Resource requests for an offline query job.
TokenExchangeRequest
The request body for the token exchange endpoint (/v1/oauth/token).
TokenResponse
The response from the token exchange endpoint.
UploadFeaturesResult
The response from POST /v1/upload_features/multi.

Enums§

OfflineQueryInputType
Input for an offline query — inline data, a Parquet URI, or a SQL query.