Preview a GitHub skill source
POST/api/skills/sources/preview
Expect changes and instability. Introduced on July 23, 2026. Learn how experimental APIs work.
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.
Request
Responses
- 200
- 400
- 401
- 403
- 408
- 413
- 422
- 429
- 500
- 503
Successful response.
Invalid request (malformed JSON, invalid parameter values, unknown fields).
Missing or invalid authentication token.
Token valid but lacks permission for the requested operation.
Backend did not respond within the timeout window.
Request body exceeds the maximum allowed size.
Returned when GitHub authorization is missing for the source URL. authentication_suggestions names the GitHub action pack to authorize; POST its server_id to the Client API's /tool-servers/{serverId}/auth with returnUrl in the request body to obtain an authorizationUrl to redirect the end user to, then retry the preview once OAuth completes.
Rate limit exceeded. Includes Retry-After header.
Unexpected server-side failure.
Backend temporarily unavailable.