Get the current user
Retrieve the user associated with the personal access token used to authenticate the request, along with their accessible accounts and GitHub linkage. Use it first in a conversation to learn which accounts, and so which owner slugs, this connection can reach.
Retrieve the user associated with the personal access token used to authenticate the request, along with their accessible accounts and GitHub linkage. Use it first in a conversation to learn which accounts, and so which owner slugs, this connection can reach.
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.
In: header
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/me"{ "user": { "id": "string", "name": "string", "email": "string" }, "accounts": [ { "id": "string", "slug": "string", "name": "string", "type": "user", "mcpAccessIncluded": true } ], "github": { "connected": true, "login": "string" }}Get an account GET
Retrieve an account with its plan and current-period usage. Use it to watch screenshot consumption against the plan before it runs over.
Troubleshooting flaky builds and false diffs
Fix screenshots that differ between your machine and CI, animations and dynamic content, loading races, an over-sensitive threshold and builds compared against the wrong baseline.