Skills

Preview a GitHub skill source

Changed on

Inspect a GitHub URL without persisting a source or any discovered skills. Set stream to true to receive repository scan progress as server-sent events; otherwise the response contains the completed preview.

post/api/skills/sources/preview

Request

  • Base URL: https://instance-name-be.glean.com
  • URL: https://instance-name-be.glean.com/api/skills/sources/preview
  • Auth: HTTP bearer

Request body

source_urlstring required

GitHub URL for a skill directory, SKILL.md file, or repository to inspect.

streamfalse required

Whether to stream repository scan progress using server-sent events.

Example request

{
  "source_url": "https://github.com/anthropics/skills"
}

Response

Successful response.

request_idstring required

Platform-generated request ID for support correlation.

Changes

    • info

      added the non-success response with the status

    • breaking

      added subschema #2 to the request body allOf list

    • breaking

      the request's body type changed from object to no type

    • breaking

      removed the media type text/event-stream for the response with the status

    • warning

      removed the request property

    • warning

      removed the request property