Skip to main content

WorkflowSub2ApiLLMCredential

idstringrequired

Stable configuration ID based on Sub2API group ID.

Possible values: Value must match regular expression ^sub2api:[1-9][0-9]*$

namestringrequired
platformstringrequired

Possible values: [openai, anthropic]

providerTypestringrequired

Possible values: [openai-responses, anthropic]

modelsstring[]required

Possible values: >= 1

modelDetails object[]required

Models that are consistent with the models order display information and capabilities; unknown models have capabilities that are both false.

Possible values: >= 1

  • Array [
  • idstringrequired

    Possible values: non-empty

    namestringrequired

    Possible values: non-empty

    capabilities objectrequired
    visionbooleanrequired
    webSearchbooleanrequired
    reasoningbooleanrequired
    toolCallingbooleanrequired
  • ]
  • proxyPathstringrequired
    Constant value: /api/auth/sub2api/llm-proxy/v1
    credentialTokenstringrequired

    One hour HMAC signing agent credential, not real Sub2API Key; caller must not persist or output.

    Possible values: Value must match regular expression ^wfllm_

    expiresAtstring<date-time>required
    WorkflowSub2ApiLLMCredential
    {
    "id": "string",
    "name": "string",
    "platform": "openai",
    "providerType": "openai-responses",
    "models": [
    "string"
    ],
    "modelDetails": [
    {
    "id": "string",
    "name": "string",
    "capabilities": {
    "vision": true,
    "webSearch": true,
    "reasoning": true,
    "toolCalling": true
    }
    }
    ],
    "proxyPath": "/api/auth/sub2api/llm-proxy/v1",
    "credentialToken": "string",
    "expiresAt": "2024-07-29T15:51:28.071Z"
    }