Get Directives
BetaWe just launched Apps: hosted models, actions and pages, on the same bill as your inference.Read the Apps docs

Get Directives

GEThttps://api.inferencebureau.com/v1/projects/{id}/directives

One level's own Directives and their policy_version. What a request gets is every level composed; this is just the level you name.

Routes

  • /v1/projects/{id}/directivesoptional

    A project, by id or slug.

  • /v1/environments/{id}/directivesoptional

    An environment, by id (from List projects).

  • /v1/keys/{id}/directivesoptional

    A project key's own override.

  • /v1/team/directivesoptional

    The team's own, the ceiling for all of these; see Get team Directives.

Response

  • objectstringrequired

    directives

  • scopestringrequired

    project, environment or key: the level you named (team on /v1/team/directives).

  • idstringrequired

    The level's id, also when you named a project by slug.

  • policy_versionintegerrequired

    Send it back with a change; see Update Directives.

  • directivesobjectrequired

    As stored, in the Directives schema. {} means the level inherits everything.