Returns the connected GitHub repo metadata for the current org and the install URL to connect one.
cURL
curl --request GET \ --url https://app.usechar.ai/api/org-script-repos/current \ --header 'Authorization: Bearer <token>'
{ "repo": { "id": 0, "org_id": "<string>", "github_repo": "<string>", "github_installation_id": "<string>", "config_path": "<string>", "last_synced_sha": "<string>", "last_synced_at": 0, "created_at": 0, "updated_at": 0 }, "install_url": "<string>" }
WorkOS JWT token. Obtain via WorkOS AuthKit authentication flow. The token must include organization_id claim for organization-scoped endpoints.
OK
Show child attributes