getGuidelinesWeekly
Get security guidelines provided and applied, grouped by week.
Examples
query GetGuidelinesWeekly($input: ActiveUsersWeeklyInput) {
getGuidelinesWeekly(input: $input) {
week
providedCount
appliedCount
}
}Variables
This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.
{
"input": {
"dateRange": {
"from": 1749000000000,
"to": 1749900000000
}
}
}curl -X POST \
https://api.cloud.ox.security/api/apollo-gateway \
-H 'Content-Type: application/json' \
-H 'Authorization: YOUR_API_TOKEN' \
-d '{
"query": "query GetGuidelinesWeekly($input: ActiveUsersWeeklyInput) { getGuidelinesWeekly(input: $input) { week providedCount appliedCount } }",
"variables": {
"input": {
"dateRange": {
"from": 1749000000000,
"to": 1749900000000
}
}
}
}'Arguments
You can use the following argument(s) to customize your getGuidelinesWeekly query.
Argument
Description
Supported fields
Fields
Return type: [VibeSecGuidelinesWeeklyItem!]!
You can use the following field(s) to specify what information your getGuidelinesWeekly query will return. Please note that some fields may have their own subfields.
Field
Description
Supported fields
week String!
ISO date of the week start (Sunday)
providedCount Int!
Number of prompts that received security guidelines in the week
appliedCount Int!
Number of code writes where a provided guideline was applied in the week
Last updated