Users
Retrieve information about the user authenticated by the current personal access token.
Retrieve an account with its plan and current-period usage. Use it to watch screenshot consumption against the plan before it runs over.
Authenticate as a user with a personal access token.
Send it as a bearer token in the Authorization header:
Authorization: Bearer <personal-access-token>
Personal access tokens act on behalf of the user that created them and are required by endpoints that perform user actions, such as reviewing builds and posting comments.
Slug of the account to retrieve.
The account with its plan and usage
An account with its plan and current-period usage, to watch consumption against the plan.
Start of the current billing period.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$End of the current billing period.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$Screenshots used since the start of the current period.
Screenshots included in the plan for a period.
Used screenshots over included screenshots. Above 1 the account is over its plan and pays for the extra.
Cost accrued so far this period for screenshots beyond the plan, in the subscription's currency.
Role given to users joining through the invite link or a verified domain. null on a personal account.
Invalid parameters
Unauthorized
Forbidden
Not found
Server error
GET /v2/accounts/{accountSlug} HTTP/1.1
Host: api.argos-ci.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "text",
"slug": "text",
"name": null,
"type": "user",
"plan": {
"name": "text",
"includedScreenshots": 1
},
"periodStartDate": "2026-01-01T00:00:00.000Z",
"periodEndDate": "2026-01-01T00:00:00.000Z",
"currentPeriodScreenshots": 1,
"includedScreenshots": 1,
"consumptionRatio": 1,
"additionalScreenshotsCost": 1,
"defaultUserLevel": "member"
}Retrieve the user associated with the token used to authenticate the request, with the accounts (personal and teams) the token can access. Account slugs are the owner used in other API paths.
Authenticate as a user with a personal access token.
Send it as a bearer token in the Authorization header:
Authorization: Bearer <personal-access-token>
Personal access tokens act on behalf of the user that created them and are required by endpoints that perform user actions, such as reviewing builds and posting comments.
The authenticated user
The authenticated user.
Unauthorized
Server error
GET /v2/me HTTP/1.1
Host: api.argos-ci.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "text",
"slug": "text",
"name": null,
"accounts": [
{
"id": "text",
"slug": "text",
"name": null,
"type": "user"
}
]
}Last updated
Was this helpful?