Retrieve details of a specific source connection
cURL
curl --request GET \ --url https://api.example.com/v1/source-connections/{id}
{ "id": "<string>", "organization_id": "<string>", "name": "<string>", "description": "<string>", "short_name": "<string>", "readable_collection_id": "<string>", "status": "<string>", "auth": { "method": "<string>", "authenticated": true, "authenticated_at": "<string>", "expires_at": "<string>", "auth_url": "<string>" }, "config": {}, "schedule": { "cron": "<string>", "next_run": "<string>", "continuous": true }, "sync": { "total_runs": 123, "successful_runs": 123, "failed_runs": 123, "last_job": {} }, "entities": { "total_entities": 123, "by_type": {} } }
Show properties
curl https://api.airweave.ai/v1/source-connections/550e8400-e29b-41d4-a716-446655440000 \ -H "Authorization: Bearer YOUR_API_KEY"
{ "id": "550e8400-e29b-41d4-a716-446655440000", "organization_id": "123e4567-e89b-12d3-a456-426614174000", "name": "GitHub Docs Repo", "description": "Main documentation repository", "short_name": "github", "readable_collection_id": "documentation-ab123", "status": "ACTIVE", "created_at": "2024-03-15T09:30:00Z", "modified_at": "2024-03-15T14:22:15Z", "auth": { "method": "direct", "authenticated": true, "authenticated_at": "2024-03-15T09:30:00Z" }, "config": { "repo_name": "company/docs", "branch": "main" }, "schedule": { "cron": "0 */6 * * *", "next_run": "2024-03-15T18:00:00Z" }, "sync": { "total_runs": 15, "successful_runs": 14, "failed_runs": 1, "last_job": { "id": "770e8400-e29b-41d4-a716-446655440002", "status": "COMPLETED", "started_at": "2024-03-15T12:00:00Z", "completed_at": "2024-03-15T12:05:32Z", "duration_seconds": 332, "entities_inserted": 45, "entities_updated": 12 } }, "entities": { "total_entities": 1250, "by_type": { "file": {"count": 1250} } }, "federated_search": false }