Config Objects

Create a skill, agent, or other config object; optionally add it to an existing plugin

Changed on

Creates a config object and initial immutable version. Pass pluginIds to add the new component to existing plugins without creating a duplicate plugin; omit pluginIds for a private standalone object. Skills require complete SKILL.md in input.rawSourceText.

post/v1/config-objects

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Request body

object required
type, 'skill' | 'agent' | 'command' | 'tool' | 'mcp' | 'hook' | 'context' | 'custom' | 'script' | 'workflow' | 'app' required
sourceMode, 'cloud' | 'import' | 'connector' required
pluginIds, string[]
input, object required

Response

Config object created successfully.

PluginArchConfigObjectMutationResponse required
ok, true required
item, PluginArchConfigObject required

Changes

    • info

      added the required property item/externalKey to the response with the status

    • breaking

      the response property item/latestVersion/anyOf[#/components/schemas/PluginArchConfigObjectVersion]/rawSourceText became nullable for the status

    • info

      response property details/items/path/items/ list-of-types was narrowed by removing types number from media type application/json of response 400

    5 more changes in this revision