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

List keys

GEThttps://api.inferencebureau.com/v1/keys?project=inference-bureau

The team's project keys, newest first, with when each was last used and when it expires. Active keys only unless you ask for the rest.

Query

  • projectstringoptional

    A project id or slug.

  • environmentstringoptional

    An environment id or name, such as production.

  • include_inactivebooleanoptional

    true adds revoked and expired keys.

  • limitintegeroptional

    1 to 100; default 50.

  • cursorstringoptional

    The previous page's next_cursor.

Response

  • data[].statusstringrequired

    active, paused (refused until resumed; listed with the active keys), revoked, or expired (past expires_at).

  • data[].paused_at, data[].paused_reasonstring | nullrequired

    When and why a paused key was paused: manual, spend_anomaly (alerts.pauseOnAnomaly) or secret_scanning (found in a public repository).

  • data[].key_hintstringrequired

    Prefix and last four characters. The secret itself is never listed.

  • data[].permissionsstring[]required

    Extra permissions, such as auditor:manage (Auditor Permissions).

  • data[].last_used_atstring | nullrequired

    Last request made with the key.

  • has_more, next_cursorrequired

    Pass next_cursor as cursor for the next page.