---
title: Scope ของ Platform API
description: ทุก scope ที่ operation ของ Platform API v1 ประกาศไว้ใน x-agentlab-scopes และ operation ที่แต่ละ scope เปิดให้เรียก
url: https://agentlab.cresclab.com/docs/th/api/scopes
language: th
updated: 2026-12-05
---

# Scope ของ Platform API

ทุก scope ที่ operation ของ Platform API v1 ประกาศไว้ใน x-agentlab-scopes และ operation ที่แต่ละ scope เปิดให้เรียก

> [!NOTE]
> สร้างจาก API contract (Agent Lab Platform API 1.0.0-alpha.1) คำอธิบายเป็นภาษาอังกฤษตามต้นฉบับใน contract

## Scope

| Scope | Operation |
| --- | --- |
| `billing:read` | [`GET /v1/workspaces/{workspaceId}/gateway`](https://agentlab.cresclab.com/docs/th/api/ai-gateway.md#getGateway) |
| `channels:read` | [`GET /v1/workspaces/{workspaceId}/channels`](https://agentlab.cresclab.com/docs/th/api/channels.md#listChannels), [`GET /v1/workspaces/{workspaceId}/channels/line/quota`](https://agentlab.cresclab.com/docs/th/api/channels.md#getLineQuota), [`GET /v1/workspaces/{workspaceId}/channels/{connectionId}/engagement`](https://agentlab.cresclab.com/docs/th/api/channels.md#listChannelEngagement), [`GET /v1/workspaces/{workspaceId}/channels/{connectionId}/identities`](https://agentlab.cresclab.com/docs/th/api/channels.md#listChannelIdentities), [`GET /v1/workspaces/{workspaceId}/deployments`](https://agentlab.cresclab.com/docs/th/api/deployments.md#listDeployments) |
| `channels:write` | [`POST /v1/workspaces/{workspaceId}/channels/line`](https://agentlab.cresclab.com/docs/th/api/channels.md#connectLine), [`PUT /v1/workspaces/{workspaceId}/channels/line/push-budget`](https://agentlab.cresclab.com/docs/th/api/channels.md#setLinePushBudget), [`POST /v1/workspaces/{workspaceId}/channels/slack/connect-links`](https://agentlab.cresclab.com/docs/th/api/channels.md#createSlackConnectLink), [`DELETE /v1/workspaces/{workspaceId}/channels/{connectionId}`](https://agentlab.cresclab.com/docs/th/api/channels.md#disconnectChannel), [`PUT /v1/workspaces/{workspaceId}/channels/{connectionId}/engagement`](https://agentlab.cresclab.com/docs/th/api/channels.md#setChannelEngagement), [`DELETE /v1/workspaces/{workspaceId}/channels/{connectionId}/identities/{identityId}`](https://agentlab.cresclab.com/docs/th/api/channels.md#revokeChannelIdentity) |
| `connections:read` | [`GET /v1/workspaces/{workspaceId}/mcp/catalog`](https://agentlab.cresclab.com/docs/th/api/connections.md#listMcpCatalog), [`GET /v1/workspaces/{workspaceId}/mcp/connections`](https://agentlab.cresclab.com/docs/th/api/connections.md#listMcpConnections), [`GET /v1/workspaces/{workspaceId}/mcp/connections/{connectionId}/tools`](https://agentlab.cresclab.com/docs/th/api/connections.md#listMcpConnectionTools), [`GET /v1/workspaces/{workspaceId}/tool-credentials`](https://agentlab.cresclab.com/docs/th/api/connections.md#listToolCredentials) |
| `connections:write` | [`POST /v1/workspaces/{workspaceId}/mcp/connections`](https://agentlab.cresclab.com/docs/th/api/connections.md#createMcpConnectLink), [`POST /v1/workspaces/{workspaceId}/tool-credentials`](https://agentlab.cresclab.com/docs/th/api/connections.md#createToolCredential), [`DELETE /v1/workspaces/{workspaceId}/tool-credentials/{credentialId}`](https://agentlab.cresclab.com/docs/th/api/connections.md#revokeToolCredential) |
| `conversations:read` | [`GET /v1/workspaces/{workspaceId}/conversations`](https://agentlab.cresclab.com/docs/th/api/conversations.md#listConversations), [`GET /v1/workspaces/{workspaceId}/conversations/{conversationId}`](https://agentlab.cresclab.com/docs/th/api/conversations.md#getConversation), [`GET /v1/workspaces/{workspaceId}/conversations/search`](https://agentlab.cresclab.com/docs/th/api/conversations.md#searchConversations), [`GET /v1/workspaces/{workspaceId}/conversations/background`](https://agentlab.cresclab.com/docs/th/api/conversations.md#listBackgroundConversations), [`GET /v1/workspaces/{workspaceId}/conversations/background/summary`](https://agentlab.cresclab.com/docs/th/api/conversations.md#getBackgroundConversationSummary), [`GET /v1/workspaces/{workspaceId}/conversations/background/unseen`](https://agentlab.cresclab.com/docs/th/api/conversations.md#countUnseenBackgroundConversations), [`GET /v1/workspaces/{workspaceId}/conversations/{conversationId}/pending-authorizations`](https://agentlab.cresclab.com/docs/th/api/conversations.md#listPendingAuthorizations), [`GET /v1/workspaces/{workspaceId}/conversations/{conversationId}/attachments`](https://agentlab.cresclab.com/docs/th/api/conversations.md#listConversationAttachments), [`GET /v1/workspaces/{workspaceId}/conversations/{conversationId}/attachments/{attachmentId}`](https://agentlab.cresclab.com/docs/th/api/conversations.md#getConversationAttachment), [`POST /v1/workspaces/{workspaceId}/conversations/{conversationId}/attachments/{attachmentId}/export`](https://agentlab.cresclab.com/docs/th/api/conversations.md#exportConversationAttachment) |
| `conversations:write` | [`PATCH /v1/workspaces/{workspaceId}/conversations/{conversationId}`](https://agentlab.cresclab.com/docs/th/api/conversations.md#updateConversation), [`POST /v1/workspaces/{workspaceId}/conversations/{conversationId}/attachments/{attachmentId}/archive`](https://agentlab.cresclab.com/docs/th/api/conversations.md#archiveConversationAttachment) |
| `deployments:write` | [`POST /v1/workspaces/{workspaceId}/deployments`](https://agentlab.cresclab.com/docs/th/api/deployments.md#createDeployment), [`PUT /v1/workspaces/{workspaceId}/deployments/{deploymentId}/agent`](https://agentlab.cresclab.com/docs/th/api/deployments.md#deployAgent) |
| `evaluations:write` | [`POST /v1/workspaces/{workspaceId}/evaluation-runs`](https://agentlab.cresclab.com/docs/th/api/evaluations.md#createEvaluationRun), [`GET /v1/workspaces/{workspaceId}/evaluation-runs/{evaluationRunId}`](https://agentlab.cresclab.com/docs/th/api/evaluations.md#getEvaluationRun) |
| `knowledge:read` | [`GET /v1/workspaces/{workspaceId}/knowledge/documents`](https://agentlab.cresclab.com/docs/th/api/knowledge.md#listKnowledgeDocuments), [`GET /v1/workspaces/{workspaceId}/knowledge/qa`](https://agentlab.cresclab.com/docs/th/api/knowledge.md#listKnowledgeQA) |
| `knowledge:write` | [`POST /v1/workspaces/{workspaceId}/knowledge/documents`](https://agentlab.cresclab.com/docs/th/api/knowledge.md#createKnowledgeDocument), [`DELETE /v1/workspaces/{workspaceId}/knowledge/documents/{documentId}`](https://agentlab.cresclab.com/docs/th/api/knowledge.md#deleteKnowledgeDocument), [`POST /v1/workspaces/{workspaceId}/knowledge/qa`](https://agentlab.cresclab.com/docs/th/api/knowledge.md#createKnowledgeQA), [`PATCH /v1/workspaces/{workspaceId}/knowledge/qa/{entryId}`](https://agentlab.cresclab.com/docs/th/api/knowledge.md#updateKnowledgeQA), [`DELETE /v1/workspaces/{workspaceId}/knowledge/qa/{entryId}`](https://agentlab.cresclab.com/docs/th/api/knowledge.md#deleteKnowledgeQA) |
| `members:read` | [`GET /v1/workspaces/{workspaceId}/members`](https://agentlab.cresclab.com/docs/th/api/workspace.md#listMembers) |
| `memory:read` | [`GET /v1/workspaces/{workspaceId}/memory`](https://agentlab.cresclab.com/docs/th/api/memory.md#getMemory) |
| `memory:write` | [`PATCH /v1/workspaces/{workspaceId}/memory/facts/{factId}`](https://agentlab.cresclab.com/docs/th/api/memory.md#editMemoryFact), [`DELETE /v1/workspaces/{workspaceId}/memory/facts/{factId}`](https://agentlab.cresclab.com/docs/th/api/memory.md#forgetMemoryFact) |
| `models:read` | [`GET /v1/workspaces/{workspaceId}/models`](https://agentlab.cresclab.com/docs/th/api/workspace.md#listModels) |
| `outreach:write` | [`GET /v1/workspaces/{workspaceId}/channels/{connectionId}/outreach`](https://agentlab.cresclab.com/docs/th/api/outreach.md#listOutreach), [`POST /v1/workspaces/{workspaceId}/channels/{connectionId}/outreach`](https://agentlab.cresclab.com/docs/th/api/outreach.md#sendOutreach) |
| `runs:write` | [`POST /v1/workspaces/{workspaceId}/runs`](https://agentlab.cresclab.com/docs/th/api/runs.md#createRun), [`POST /v1/workspaces/{workspaceId}/runs/{runId}/tool-approvals/{toolCallId}`](https://agentlab.cresclab.com/docs/th/api/runs.md#decideRunToolCall), [`GET /v1/workspaces/{workspaceId}/runs/{runId}`](https://agentlab.cresclab.com/docs/th/api/runs.md#getRun), [`POST /v1/workspaces/{workspaceId}/runs/{runId}/cancel`](https://agentlab.cresclab.com/docs/th/api/runs.md#cancelRun), [`POST /v1/workspaces/{workspaceId}/transcriptions`](https://agentlab.cresclab.com/docs/th/api/transcriptions.md#createTranscription) |
| `teams:read` | [`GET /v1/workspaces/{workspaceId}/teams`](https://agentlab.cresclab.com/docs/th/api/workspace.md#listTeams) |
| `usage:read` | [`GET /v1/workspaces/{workspaceId}/usage`](https://agentlab.cresclab.com/docs/th/api/usage.md#getUsage) |
| `workspace:read` | [`GET /v1/workspaces/{workspaceId}/settings`](https://agentlab.cresclab.com/docs/th/api/workspace.md#getWorkspaceSettings), [`GET /v1/workspaces/{workspaceId}/settings/instructions`](https://agentlab.cresclab.com/docs/th/api/workspace.md#listInstructionHistory), [`GET /v1/workspaces/{workspaceId}/modules`](https://agentlab.cresclab.com/docs/th/api/workspace.md#listWorkspaceModules) |
| `workspace:write` | [`PATCH /v1/workspaces/{workspaceId}/settings`](https://agentlab.cresclab.com/docs/th/api/workspace.md#updateWorkspaceSettings) |
| `workspaces:create` | [`POST /v1/workspaces`](https://agentlab.cresclab.com/docs/th/api/account.md#createAccountWorkspace) |
| `workspaces:read` | [`GET /v1/workspaces`](https://agentlab.cresclab.com/docs/th/api/account.md#listAccountWorkspaces), [`GET /v1/workspaces/{workspaceId}/admission`](https://agentlab.cresclab.com/docs/th/api/account.md#getWorkspaceAdmission) |

## Operation ที่ไม่ต้องใช้ scope

| Operation | การยืนยันตัวตน |
| --- | --- |
| [`GET /v1/openapi.json`](https://agentlab.cresclab.com/docs/th/api/discovery.md#getOpenAPIDocument) | ไม่มี |
| [`GET /.well-known/openid-configuration`](https://agentlab.cresclab.com/docs/th/api/discovery.md#getOpenIDConfiguration) | ไม่มี |
| [`GET /.well-known/oauth-authorization-server`](https://agentlab.cresclab.com/docs/th/api/discovery.md#getAuthorizationServerMetadata) | ไม่มี |
| [`GET /.well-known/agentlab-sdk-event-key.json`](https://agentlab.cresclab.com/docs/th/api/discovery.md#getSdkEventVerificationKey) | ไม่มี |
| [`GET /v1/oauth/authorize`](https://agentlab.cresclab.com/docs/th/api/oauth.md#authorize) | ไม่มี |
| [`POST /v1/oauth/token`](https://agentlab.cresclab.com/docs/th/api/oauth.md#token) | `clientSecretBasic` |
| [`POST /v1/oauth/revoke`](https://agentlab.cresclab.com/docs/th/api/oauth.md#revoke) | ไม่มี |
| [`POST /v1/oauth/introspect`](https://agentlab.cresclab.com/docs/th/api/oauth.md#introspect) | `clientSecretBasic` |
| [`GET /v1/oauth/userinfo`](https://agentlab.cresclab.com/docs/th/api/oauth.md#getUserInfo) | `personToken` |
| [`POST /v1/oauth/userinfo`](https://agentlab.cresclab.com/docs/th/api/oauth.md#postUserInfo) | `personToken` |
| [`GET /v1/oauth/jwks.json`](https://agentlab.cresclab.com/docs/th/api/oauth.md#getIDTokenKeys) | ไม่มี |
| [`GET /v1/account/profile`](https://agentlab.cresclab.com/docs/th/api/account.md#getAccountProfile) | `personToken`, `consoleSession` |
| [`POST /v1/sdk/replies`](https://agentlab.cresclab.com/docs/th/api/channel-events.md#replyToSdkEvent) | `applicationKey`, `installationToken` |
| [`GET /v1/installation`](https://agentlab.cresclab.com/docs/th/api/installation.md#getInstallation) | `installationToken` |
| [`GET /v1/workspaces/{workspaceId}/me`](https://agentlab.cresclab.com/docs/th/api/workspace.md#getWorkspaceMember) | `installationToken` |
