# get_connect_session

> Page: https://docs.flung.dev/mcp/tools/get-connect-session. Index of every page: https://docs.flung.dev/llms.txt

Check a connect session. Whether the person finished connecting: pending, connected (with accountIds), failed (with the platform's reason) or expired. Poll it every few seconds after giving them the link; do not start a new session while one is pending.

## TL;DR

| Question | Answer |
|---|---|
| What does it do? | Whether the person finished connecting: pending, connected (with accountIds), failed (with the platform's reason) or expired. Poll it every few seconds after giving them the link; do not start a new session while one is pending. |
| Does it change anything? | Reads only. |
| Which endpoint does it call? | [`GET /v1/connect-sessions/{id}`](https://docs.flung.dev/reference/api/get-v1-connect-sessions-id.md) |
| Which server? | `https://mcp.flung.dev/mcp-oauth` (sign in) or `https://mcp.flung.dev/mcp` (API key). |

## Arguments

| Argument | Type | Required | Description |
|---|---|---|---|
| `sessionId` | `string` | yes | The id connect_account or reconnect_account returned, such as cs_... at least 1 character; at most 64 characters; pattern `^cs_[a-z2-7]+$`. |

## Example call

```json
{
  "name": "get_connect_session",
  "arguments": {
    "sessionId": "cs_aaaaaaaaaaaaaaaaaaaaaaaa"
  }
}
```

## Things a person might say

- "Did the LinkedIn connection go through?"

## Annotations

| Hint | Value |
|---|---|
| `readOnlyHint` | true |
| `destructiveHint` | false |
| `idempotentHint` | true |
| `openWorldHint` | false |

## See also

| Doc | Why |
|---|---|
| [MCP tools](https://docs.flung.dev/mcp/tools.md) | Every tool |
| [Connect an AI agent](https://docs.flung.dev/mcp.md) | Install the server in your client |
| [`GET /v1/connect-sessions/{id}`](https://docs.flung.dev/reference/api/get-v1-connect-sessions-id.md) | The same operation over HTTP |
