Observability
View metadata about your deployed Chalk features and resolvers.
Occasionally, you may need to inspect a running Chalk environment to review metadata about your configured Chalk pipelines. You can use the provided REST API to query for this metadata as part of your admin dashboards, monitoring tooling, or team knowledge management.
Note: if you use a user-scoped token (i.e. one that’s derived from chalk login),
you will need to specify the environment in which to trigger your resolver via the X-Chalk-Env-Id header.
AuthorizationstringThe auth token that should be used for the request, such as
Authorization: Bearer $(chalk token)
X-Chalk-Env-Idstring?The environment ID for which this request should be executed, if the provided Authorization token was not created with an implicit environment
Pipelines object
curl -XGET -H "Authorization: Bearer $(chalk token)" \
-H "X-Chalk-Env-Id: <your-environment-id>" \
https://api.chalk.ai/v1/environment/graph
# Returns
{
"deployment_id": "<deployment-id>",
"features": […],
"resolvers": […]
}
{deployment_id}/graphdeployment_idstringThe machine-generated ID for your deployment, usually a 25-character string that begins with c
and looks something like cl789789aoa002chalkexample. The deployment can be associated with a
preview or production environment.
AuthorizationstringThe auth token that should be used for the request, such as
Authorization: Bearer $(chalk token)
X-Chalk-Env-Idstring?The environment ID for which this request should be executed, if the provided Authorization token was not created with an implicit environment
Pipelines object
curl -XGET -H "Authorization: Bearer $(chalk token)" \
-H "X-Chalk-Env-Id: <your-environment-id>" \
https://api.chalk.ai/v1/deployments/<your-deployment-id>/graph
# Returns
{
"deployment_id": "<deployment-id>",
"features": […],
"resolvers": […]
}
deployment_idstringThe deployment ID that is being described by this graph
featuresFeatureInfo[]Array of FeatureInfo objects, one for each Feature in your deployment.
Most of the metadata in each FeatureInfo is defined in your Feature() declaration
fqnstringThe fully-qualified name of this feature, like user.id
namestringThe name of this feature, like “User first name”
detailobjectAdditional metadata about this feature’s value type, including its underlying raw type, whether it’s a primary key, and feature version metadata.
tagsstring[]The user tags associated with this feature
created_atstringAn ISO-8601 datetime string describing when this feature was first introduced to your deployment
updated_atstringAn ISO-8601 datetime string describing when this feature was last modified by a deployment
etl_offline_to_onlinebooleanWhether this feature has Offline-to-Online Chalk ETL integration
resolversResolverInfo[]Array of ResolverInfo objects, one for each Resolver in your deployment.
fqnstringThe fully-qualified name of this resolver, like example.resolvers.get_user
execution_kind"online" | "offline" | "stream" | "sink"Whether this resolver is configured to run as an
online or offline resolver, or a stream or sink resolver
tagsstring[]The user tags associated with this resolver
feature_inputsstring[]The declared feature input FQNs to this resolver, as a string array
feature_outputsstring[]The declared feature output FQNs of this resolver, as a string array
cronstring | nullIf the resolver is configured to run with a schedule, this field will describe that schedule
updated_atstringThe last time this resolver was modified by a deployment, including its declaration or its implementation, as an ISO-8601 datetime string