Create a workspace custom agent skill
Creates a shared workspace skill. Attach the returned skill id to native custom agents with config.workspaceSkillIds on /agents/{id}/native, or to Leadtime-managed Claude agents with config.managedAgent.skills on /agents/{id}/claude.
/agents/skillsAuthorizationOAuth2 access token · headerrequiredapi:writeAuthorizationBearer token (JWT) · headerrequiredfieldsToReturnstringComma-separated list of top-level response fields to return. Overrides the endpoint compact default unless responseShape=full is used.
responseShapestringAdvanced override. Omit for the endpoint compact default. Use full only when you need the complete endpoint response, including nested fields that are not selectable with fieldsToReturn.
compactfullLT-Response-ShapestringAdvanced override. Set to full only when you need the complete endpoint response, including nested fields that are not selectable with fieldsToReturn.
fullapplication/jsonbodystringrequiredMarkdown instructions loaded when the skill is activated by a native custom agent or Leadtime-managed hosted agent.
descriptionstringrequiredShort description used for native and hosted agent skill discovery. Maximum 1024 characters.
displayTitlestringrequiredHuman-readable shared workspace agent skill title shown in Leadtime.
namestringrequiredShared workspace agent skill slug used in SKILL.md frontmatter. Lowercase letters, numbers, and hyphens only.
Unauthorized - Invalid or missing authentication token
Forbidden - Insufficient API scopes or permissions