> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webagent.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Auth Contexts

> Retrieve all authentication contexts for the authenticated user.

Returns a list of saved auth contexts with their IDs, names, and associated URLs.
These contexts can be used to run tasks with pre-authenticated sessions.



## OpenAPI

````yaml cloud-api-reference/openapi.json get /auth-contexts
openapi: 3.1.0
info:
  title: Webagent API
  description: API to execute automated tasks on browser using different LLM providers.
  version: 0.1.0
servers:
  - url: https://api.webagent.cloud
    description: Webagent API
security: []
paths:
  /auth-contexts:
    get:
      tags:
        - auth-contexts
      summary: Get Auth Contexts
      description: >-
        Retrieve all authentication contexts for the authenticated user.


        Returns a list of saved auth contexts with their IDs, names, and
        associated URLs.

        These contexts can be used to run tasks with pre-authenticated sessions.
      operationId: get_auth_contexts_auth_contexts_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/AuthContextResponse'
                type: array
                title: Response Get Auth Contexts Auth Contexts Get
        '404':
          description: Not found
      security:
        - APIKeyHeader: []
components:
  schemas:
    AuthContextResponse:
      properties:
        id:
          type: string
          title: Id
          description: The id of auth context
        name:
          type: string
          title: Name
          description: The name of auth context
        urls:
          items:
            type: string
          type: array
          title: Urls
          description: The urls of auth context
      type: object
      required:
        - id
        - name
        - urls
      title: AuthContextResponse
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````