---
title: "Get provider auth method"
method: GET
path: "/provider-auth-methods/{provider_auth_method_id}"
tags: ["Provider Auth Methods"]
---

# Get provider auth method

`GET /provider-auth-methods/{provider_auth_method_id}`

## Request

- Base URL: `https://api.metorial.com`
- URL: `https://api.metorial.com/provider-auth-methods/{provider_auth_method_id}`
- Auth: HTTP bearer

Retrieves a specific provider auth method by ID.

## Path parameters

- `provider_auth_method_id` string, required

## Headers

- `Metorial-Version` string

## Response `200`

Successful response

- ProviderCapabilitiesAuthMethod
  - `object` 'provider.capabilities.auth_method', required: String representing the object's type
  - `id` string, required: Unique auth method identifier
  - `type` 'oauth' | 'token' | 'custom', required: Authentication type
  - `key` string, required: Auth method key
  - `name` string, required: Display name
  - `description` string, nullable, required: Auth method description
  - `capabilities` object, required: Auth method capabilities
  - `input_schema` object, nullable, required
    - `type` 'json_schema', required
    - `schema` object, required: JSON Schema defining the required auth input fields
  - `output_schema` object, nullable, required
    - `type` 'json_schema', required
    - `schema` object, required: JSON Schema defining the auth output fields
  - `scopes` Scope[], nullable, required: Available OAuth scopes
    - `object` 'provider.capabilities.auth_method.scope', required: String representing the object's type
    - `id` string, required: Unique scope identifier
    - `scope` string, required: OAuth scope string
    - `name` string, required: Display name of the scope
    - `description` string, nullable, required: Scope description
  - `adapters` string[], nullable, required: Adapter IDs this auth method can be used with
  - `provider_id` string, required: Provider ID
  - `provider_specification_id` string, required: Specification ID
  - `created_at` string, date-time, required: Timestamp when created
  - `updated_at` string, date-time, required: Timestamp when last updated

## Other responses

- `400`: Invalid parameters or action
- `401`: Missing or invalid API key
- `403`: The key lacks permission for this resource
- `404`: No such resource
- `422`: Validation failed
- `429`: Rate limit exceeded
- `500`: Unexpected server error

---

[API](https://skmtc.dev/metorial/apis/metorial-api.md) - [All operations](https://skmtc.dev/metorial/apis/metorial-api/llms.txt) - [OpenAPI document](https://skmtc.dev/metorial/apis/metorial-api/revisions/10ccc89f3eac?raw)
