Argo CD SessionService API

The SessionService API from Argo CD — 2 operation(s) for sessionservice.

Operations 3

POST /api/v1/session Create a new JWT for authentication and set a cookie if using HTTP #
DELETE /api/v1/session Delete an existing JWT cookie if using HTTP #
GET /api/v1/session/userinfo Get the current user's info #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/argocd-sessionservice-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

argocd-sessionservice-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Description of all APIs
  title: Consolidate Services AccountService Session Service API
  version: version not set
tags:
- name: SessionService
paths:
  /api/v1/session:
    post:
      tags:
      - SessionService
      summary: Create a new JWT for authentication and set a cookie if using HTTP
      operationId: SessionService_Create
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sessionSessionResponse'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/runtimeError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/sessionSessionCreateRequest'
        required: true
    delete:
      tags:
      - SessionService
      summary: Delete an existing JWT cookie if using HTTP
      operationId: SessionService_Delete
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sessionSessionResponse'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/runtimeError'
  /api/v1/session/userinfo:
    get:
      tags:
      - SessionService
      summary: Get the current user's info
      operationId: SessionService_GetUserInfo
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sessionGetUserInfoResponse'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/runtimeError'
components:
  schemas:
    sessionSessionResponse:
      description: SessionResponse wraps the created token or returns an empty string if deleted.
      type: object
      properties:
        token:
          type: string
    sessionSessionCreateRequest:
      description: SessionCreateRequest is for logging in.
      type: object
      properties:
        password:
          type: string
        token:
          type: string
        username:
          type: string
    sessionGetUserInfoResponse:
      type: object
      title: The current user's userInfo info
      properties:
        groups:
          type: array
          items:
            type: string
        iss:
          type: string
        loggedIn:
          type: boolean
        username:
          type: string
    runtimeError:
      type: object
      properties:
        code:
          type: integer
          format: int32
        details:
          type: array
          items:
            $ref: '#/components/schemas/protobufAny'
        error:
          type: string
        message:
          type: string
    protobufAny:
      type: object
      properties:
        type_url:
          type: string
        value:
          type: string
          format: byte