Return where a source the caller can read lives
The workspace a source lives in ({kind, team_id}), so a link to it opened from another workspace can go there first. A source another team shares with the caller's team lives in that receiving team. 404 when the caller cannot see the source.
Args:
source_id: The source's id.
Returns:
Response: {"success", "workspace"}, or 404 for a source the
caller can't read (missing, someone else's, or a team they left).
Personal access token scope: sources:read.
bearerAuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
source_id*stringSuccess
curl -X GET 'http://localhost:7091/api/sources/string/workspace'GET /api/sources/{source_id}/graph GET
Bounded knowledge-graph overview for a graphrag source: top nodes by degree and the edges among them (read access: owner or shared). Returns empty lists when no graph has been built yet. [Personal access token](/API/personal-access-tokens) scope: `sources:read`.
Get celery job status GET
Get celery job status. [Personal access token](/API/personal-access-tokens) scope: `chat:run` or `sources:read` or `sources:write`.