Skip to main content

companyGuardrailStats

Returns guardrail usage and limits for a company

companyGuardrailStats(
companyId: ID!
): [CompanyGuardrailStat!]!

Arguments​

companyGuardrailStats.companyId ● ID! non-null scalar​

Type​

CompanyGuardrailStat object​

Current usage and effective limit of a guardrail dimension for a company

Example request

This generated query uses placeholders for required values. Replace them with values available to your API key before running it.

Before you run it

Run the companies query first and use data.companies.collection[].id as companyId.

curl --request POST https://api.convisoappsec.com/graphql \
--header "x-api-key: $CONVISO_API_KEY" \
--header "content-type: application/json" \
--data '{"query":"query GetCompanyGuardrailStats($companyId: ID!) {\n companyGuardrailStats(companyId: $companyId) { assetCategory key limit }\n}","variables":{"companyId":"<company_id>"}}'

Contribute to the Docs

Found something outdated or missing? Help us improve the documentation with a quick suggestion or edit.

How to contribute