Skip to main content
POST
/
api
/
mcp
/
sessions
/
{id}
/
reauth
Error
A valid request URL is required to generate request examples
{
  "authorize_url": "<string>",
  "session_id": "<string>",
  "submit_url": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.getbifrost.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your provider API key or Bifrost authentication token. Virtual keys (prefixed with sk-bf-) can also be passed here.

Path Parameters

id
string
required

Session row ID (OAuth token or header credential)

Response

Fresh flow opened

Response for POST /api/mcp/sessions/{id}/reauth. Returns the URL the caller must visit to complete the fresh authentication / resubmission.

authorize_url
string
required

Where the caller must go. For OAuth rows this is the upstream provider's authorize page (via a Bifrost intermediate). For header credential rows it's the Bifrost submission form for the new flow.

session_id
string
required

ID of the freshly-minted flow row

submit_url
string

Set only on header re-auth and identical to authorize_url. Kept for callers that want to be explicit about the underlying surface.

kind
enum<string>

Set only on header re-auth

Available options:
oauth,
headers