Skills

Create skill grant

Changed on

Shares a skill with another project so its agent configs can attach it, and returns the grant; ownership doesn't change.

post/orgs/{orgID}/skills/{skillID}/grants

Request

  • Base URL
    https://api.omnara.com/v1
  • Auth
    • HTTP bearer
    • or API key in cookie __Host-omnara_session and API key in header X-Omnara-Csrf

Path parameters

orgID, string required

Organization ID (org_...).

skillID, string required

Skill ID (skl_...).

Request body

SkillGrantCreateRequest required
target_project_id, string required

Project ID (proj_...).

Response

Skill grant created.

SkillGrant required
id, string required

Identifies this grant; use it to revoke the project's access.

org_id, string required

Organization the grant and its skill belong to.

skill_id, string required

Skill shared by this grant.

target_project_id, string required

Project that can attach the skill through this grant.

created_at, string date-time required

When the skill was granted to the project.

Changes

    • warning

      added the new upstream_unavailable enum value to the code response property for the response status

    • warning

      added the new upstream_unavailable enum value to the code response property for the response status

    • warning

      added the new upstream_unavailable enum value to the code response property for the response status

    13 more changes in this revision