Get Session Details

View as Markdown
`GET /sourcing-session/:sessionId` Returns full details of a sourcing session: title, JD, queries, current search status, and matched-profile counts. ## Path Parameters | Name | Type | Description | | --- | --- | --- | | sessionId | string | Session ObjectId | ## Headers | Key | Value | | --- | --- | | x-fj-api-key | fjk_ | ## Response (200) ``` json { "statusCode": 200, "data": { "session": { "_id": "<SESSION_ID>", "sessionTitle": ".NET Developer", "profileMatchingStatus": "done", } }, "message": "Session fetched successfully", "status": "SUCCESS" } ``` `profileMatchingStatus` values: `processing` → initial search running · `fetching_more` → fetch-more in progress · `done` → results ready. ## cURL Replace `fjk_YOUR_API_KEY_HERE` and , then paste and run: ``` bash curl "https://prod.api.futurejobs.ai/api/v1/wl/sourcing-session/<SESSION_ID>" \ -H "x-fj-api-key: fjk_YOUR_API_KEY_HERE" ``` ## Errors - `401 Unauthorized` — invalid API key. - `404 Not Found` — session does not exist or is outside the API key's workspace.

Authentication

x-fj-api-keystring
API Key authentication via header

Response headers

X-Powered-Bystring
X-Request-Idstring
Access-Control-Allow-Credentialsstring
RateLimit-Policystring
RateLimit-Limitstring
RateLimit-Remainingstring
RateLimit-Resetstring
ETagstring

Response

OK
statusCodeinteger
dataobject
messagestring
statusstring