Context Data
  • Welcome to the Context Data Documentation
  • Quickstart
  • Adding Source Connections
  • Adding Embedding Models
  • Adding Target Connections
  • Create Transformations
  • Create and Run Flows
  • API reference
    • Auth
    • Workspace
      • Source connections
      • Embedding models
      • Chat models
      • Target connections
      • Flows
      • Vector Store Query
      • Query sessions
  • API Documentation (Redoc)
Powered by GitBook
On this page
  1. API reference

Auth

PreviousAPI referenceNextWorkspace

Last updated 11 months ago

  • POSTToken
  • DELETELogout

Logout

delete
Authorizations
Responses
204
No Content
delete
DELETE /api/auth/ HTTP/1.1
Host: sapphire.contextdata.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
204

No Content

No content

Token

post

Login using your Context Data user login and generate your token

Body
usernamestring ยท max: 150Required

Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.

passwordstringRequired
Responses
200
OK
post
POST /api/auth/token HTTP/1.1
Host: sapphire.contextdata.ai
Content-Type: application/json
Accept: */*
Content-Length: 37

{
  "username": "text",
  "password": "text"
}
200

OK

No content