Determined AI · Capability

Determined AI REST API — Authentication

Determined AI REST API — Authentication. 2 operations. Lead operation: Log in. Self-contained Naftiko capability covering one Determined Ai business surface.

Run with Naftiko Determined AiAuthentication

What You Can Do

POST
Login — Log in
/v1/api/v1/auth/login
POST
Logout — Log out
/v1/api/v1/auth/logout

MCP Tools

log

Log in

log-out

Log out

Capability Spec

determined-ai-authentication.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Determined AI REST API — Authentication
  description: 'Determined AI REST API — Authentication. 2 operations. Lead operation: Log in. Self-contained Naftiko capability
    covering one Determined Ai business surface.'
  tags:
  - Determined Ai
  - Authentication
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DETERMINED_AI_API_KEY: DETERMINED_AI_API_KEY
capability:
  consumes:
  - type: http
    namespace: determined-ai-authentication
    baseUri: https://master.example.com
    description: Determined AI REST API — Authentication business capability. Self-contained, no shared references.
    resources:
    - name: api-v1-auth-login
      path: /api/v1/auth/login
      operations:
      - name: login
        method: POST
        description: Log in
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v1-auth-logout
      path: /api/v1/auth/logout
      operations:
      - name: logout
        method: POST
        description: Log out
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.DETERMINED_AI_API_KEY}}'
  exposes:
  - type: rest
    namespace: determined-ai-authentication-rest
    port: 8080
    description: REST adapter for Determined AI REST API — Authentication. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/v1/auth/login
      name: api-v1-auth-login
      description: REST surface for api-v1-auth-login.
      operations:
      - method: POST
        name: login
        description: Log in
        call: determined-ai-authentication.login
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/auth/logout
      name: api-v1-auth-logout
      description: REST surface for api-v1-auth-logout.
      operations:
      - method: POST
        name: logout
        description: Log out
        call: determined-ai-authentication.logout
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: determined-ai-authentication-mcp
    port: 9090
    transport: http
    description: MCP adapter for Determined AI REST API — Authentication. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: log
      description: Log in
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: determined-ai-authentication.login
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: log-out
      description: Log out
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: determined-ai-authentication.logout
      outputParameters:
      - type: object
        mapping: $.