Get a package's schema and column values
const url = 'https://example.com/v1/yac/metadata?refresh=false';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/v1/yac/metadata?refresh=false' \ --header 'Authorization: Bearer <token>'Backend-introspected dataSchema/dataDomains for a package — the remote-mode replacement for browser-side CSV domain computation. Cached with a TTL; pass ?refresh=1 to force re-introspection.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”Successful Response
object
Always false: the package is queried on the server, not in the browser.
The data package descriptor, introspected from the database.
object
Each column’s values or range.
object
Example
{ "interactive": false}Missing, invalid or expired token (detail).
An error body. Authentication failures carry FastAPI’s detail
instead of error.
object
object
Example generated
{ "error": "example", "code": "example", "errors": [ "example" ], "detail": [ {} ]}database_forbidden: the database rejected the caller’s forwarded identity (JWT passthrough).
An error body. Authentication failures carry FastAPI’s detail
instead of error.
object
object
Example generated
{ "error": "example", "code": "example", "errors": [ "example" ], "detail": [ {} ]}no_backend: no query backend is configured for the package.
An error body. Authentication failures carry FastAPI’s detail
instead of error.
object
object
Example generated
{ "error": "example", "code": "example", "errors": [ "example" ], "detail": [ {} ]}Validation Error
object
object
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}The identity provider’s keys could not be fetched (JWT_JWKS_URL).
An error body. Authentication failures carry FastAPI’s detail
instead of error.
object
object
Example generated
{ "error": "example", "code": "example", "errors": [ "example" ], "detail": [ {} ]}