Connectors

Create connector mapping

Changed on

Creates a connector mapping.

post/v1/connector-targets/{connectorTargetId}/mappings

Request

  • Base URL: https://api.openworklabs.com
  • URL: https://api.openworklabs.com/v1/connector-targets/{connectorTargetId}/mappings
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Path parameters

connectorTargetIdstring typeid required

Den TypeID with 'ctg_' prefix and a 26-character base32 suffix.

Request body

mappingKind'path' | 'api' | 'custom' required
selectorstring required
objectType'skill' | 'agent' | 'command' | 'tool' | 'mcp' | 'hook' | 'context' | 'custom' | 'script' | 'workflow' | 'app' required
pluginIdstring typeid nullable

Den TypeID with 'plg_' prefix and a 26-character base32 suffix.

autoAddToPluginboolean
configobject

Response

Connector mapping created successfully.

oktrue required

Changes

    • info

      added the optional property to the response with the status

    • info

      the endpoint scheme security bearerAuth was added to the API

    • info

      the endpoint scheme security denApiKey was added to the API