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.
Authorizationstring
Authorization: Bearer $(chalk token)
X-Chalk-Env-Idstring?
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_idstring
Authorizationstring
Authorization: Bearer $(chalk token)
X-Chalk-Env-Idstring?
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_idstring
featuresFeatureInfo[]
FeatureInfo
objects, one for each Feature in your deployment. Most of the metadata in each `FeatureInfo` is defined in your Feature()
declarationfqnstring
user.id
namestring
detailobject
tagsstring[]
created_atstring
updated_atstring
etl_offline_to_onlineboolean
resolversResolverInfo[]
ResolverInfo
objects, one for each Resolver in your deployment.fqnstring
example.resolvers.get_user
execution_kind"online" | "offline" | "stream" | "sink"
tagsstring[]
feature_inputsstring[]
feature_outputsstring[]
cronstring | null
updated_atstring