shares

Create a share for a knowledge base

post/shares/knowledge-bases

Request

  • The document declares no server URL.
  • Auth: none declared

Request body

entityType'prompt' | 'skill' | 'knowledge_base' required

Type of entity being shared

knowledgeBaseIdstring uuid required

ID of the knowledge base to share

teamIdstring uuid

ID of the team to share with (if not provided, shares with entire organization)

Response

Share created successfully

idstring uuid required

Unique identifier of the share

entityType'prompt' | 'skill' | 'knowledge_base' required

Type of entity being shared

entityIdstring uuid required

ID of the entity being shared

scopeType'org' | 'team' required

Type of share scope (organization, user, or team)

ownerIdstring uuid required

ID of the user who created the share

teamIdstring uuid

ID of the team (only present for team-scoped shares)

teamNamestring

Name of the team (only present for team-scoped shares)

createdAtstring date-time required

When the share was created

updatedAtstring date-time required

When the share was last updated

Changes

No recorded changes to this operation across all 50 revisions of this API.