client.workflows.create_revision(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.workflows.create_revision( workflow_id="workflow_id", workflow_key="workflow_key", )
-
-
-
workflow_id:
typing.Optional[str]
-
workflow_key:
typing.Optional[str]
-
workflow_display_name:
typing.Optional[str]
-
workflow_schema_version:
typing.Optional[str]
-
workflow_img_url:
typing.Optional[str]
-
workflow_description:
typing.Optional[str]
-
blocks:
typing.Optional[typing.Sequence[BlockInput]]
-
notes:
typing.Optional[typing.Sequence[WorkflowNoteInput]]
-
placeholders:
typing.Optional[typing.Sequence[PlaceholderInput]]
-
tags:
typing.Optional[typing.Sequence[str]]
-
is_tool:
typing.Optional[bool]
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.workflows.list(...)
-
-
-
List all workflows in the organization
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.workflows.list( sort="sort", direction="direction", start_at="start_at", limit=1, query="query", tags="tags", drive=True, )
-
-
-
sort:
typing.Optional[str]— Field to sort by
-
direction:
typing.Optional[str]— Sort in ascending or descending order
-
start_at:
typing.Optional[str]— created_at to start at
-
limit:
typing.Optional[int]— Limit of records to return
-
query:
typing.Optional[str]— Search query
-
tags:
typing.Optional[str]— Filter by tags
-
drive:
typing.Optional[bool]
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.workflows.create(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.workflows.create( workflow_key="workflow_key", )
-
-
-
workflow_key:
typing.Optional[str]— A unique key to identify the workflow
-
workflow_display_name:
typing.Optional[str]
-
workflow_schema_version:
typing.Optional[str]
-
workflow_img_url:
typing.Optional[str]
-
workflow_description:
typing.Optional[str]
-
blocks:
typing.Optional[typing.Sequence[BlockInput]]
-
notes:
typing.Optional[typing.Sequence[WorkflowNoteInput]]
-
placeholders:
typing.Optional[typing.Sequence[PlaceholderInput]]
-
tags:
typing.Optional[typing.Sequence[str]]
-
is_tool:
typing.Optional[bool]
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.workflows.get(...)
-
-
-
Fetch app configuration by ID.
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.workflows.get( workflow_id="workflow_id", )
-
-
-
workflow_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.workflows.update(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.workflows.update( workflow_id="workflow_id", )
-
-
-
workflow_id:
str
-
workflow_display_name:
typing.Optional[str]
-
workflow_schema_version:
typing.Optional[str]
-
workflow_img_url:
typing.Optional[str]
-
workflow_description:
typing.Optional[str]
-
blocks:
typing.Optional[typing.Sequence[BlockInput]]
-
notes:
typing.Optional[typing.Sequence[WorkflowNoteInput]]
-
placeholders:
typing.Optional[typing.Sequence[PlaceholderInput]]
-
tags:
typing.Optional[typing.Sequence[str]]
-
is_tool:
typing.Optional[bool]
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.workflows.delete(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.workflows.delete( workflow_id="workflow_id", )
-
-
-
workflow_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.workflows.run_stream(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) response = client.workflows.run_stream( workflow_id="workflow_id", environment="environment", revision_id="revision_id", session_id="session_id", ) for chunk in response.data: yield chunk
-
-
-
workflow_id:
str
-
environment:
typing.Optional[str]Specifies the execution environment for the workflow. The available environments include:
production: The production environment, where workflows are executed under live conditions.staging: A staging environment used for testing prior to production deployment.development: A development environment used for testing new changes.console: The console environment, runs latest changes on a workflow.
-
revision_id:
typing.Optional[str]
-
session_id:
typing.Optional[str]
-
inputs:
typing.Optional[typing.Dict[str, WorkflowsRunStreamRequestInputsValue]]
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.workflows.run(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.workflows.run( workflow_id="workflow_id", environment="environment", revision_id="revision_id", session_id="session_id", )
-
-
-
workflow_id:
str
-
environment:
typing.Optional[str]Specifies the execution environment for the workflow. The available environments include:
production: The production environment, where workflows are executed under live conditions.staging: A staging environment used for testing prior to production deployment.development: A development environment used for testing new changes.console: The console environment, runs latest changes on a workflow.
-
revision_id:
typing.Optional[str]
-
session_id:
typing.Optional[str]
-
inputs:
typing.Optional[typing.Dict[str, WorkflowsRunRequestInputsValue]]
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.workflows.run_with_config(...)
-
-
-
from scoutos import Scout, WorkflowConfigInput client = Scout( api_key="YOUR_API_KEY", ) client.workflows.run_with_config( environment="environment", revision_id="revision_id", session_id="session_id", workflow_config=WorkflowConfigInput(), )
-
-
-
workflow_config:
WorkflowConfigInput
-
environment:
typing.Optional[str]Specifies the execution environment for the workflow. The available environments include:
production: The production environment, where workflows are executed under live conditions.staging: A staging environment used for testing prior to production deployment.development: A development environment used for testing new changes.console: The console environment, runs latest changes on a workflow.
-
revision_id:
typing.Optional[str]
-
session_id:
typing.Optional[str]
-
workflow_key:
typing.Optional[str]
-
inputs:
typing.Optional[ typing.Dict[str, SrcHandlersWorkflowsExecuteWithConfigReqBodyInputsValue] ]
-
streaming:
typing.Optional[bool]
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.workflow_revisions.update(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.workflow_revisions.update( workflow_id="workflow_id", revision_id="revision_id", name="name", )
-
-
-
workflow_id:
str
-
revision_id:
str
-
name:
str
-
description:
typing.Optional[str]
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.revisions.delete(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.revisions.delete( workflow_id="workflow_id", revision_id="revision_id", )
-
-
-
workflow_id:
str
-
revision_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.revisions.list(...)
-
-
-
List all app revisions in the organization
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.revisions.list( workflow_id="workflow_id", )
-
-
-
workflow_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.revisions.update(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.revisions.update( workflow_id="workflow_id", revision_id="revision_id", )
-
-
-
workflow_id:
str
-
revision_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.environments.list(...)
-
-
-
List all environments for a workflow in the organization
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.environments.list( workflow_id="workflow_id", )
-
-
-
workflow_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.environments.update(...)
-
-
-
Update deployments within a workflow environment
-
-
-
from scoutos import EnvironmentDeploymentConfig, Scout client = Scout( api_key="YOUR_API_KEY", ) client.environments.update( workflow_id="workflow_id", environment_id="environment_id", name="name", description="description", deployments=[ EnvironmentDeploymentConfig( revision_lookup="latest", ) ], )
-
-
-
workflow_id:
str
-
environment_id:
str
-
name:
str
-
description:
str
-
deployments:
typing.Sequence[EnvironmentDeploymentConfig]
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.usage.get(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.usage.get( start_date="start_date", end_date="end_date", )
-
-
-
start_date:
typing.Optional[str]— Start date for the usage data
-
end_date:
typing.Optional[str]— End date for the usage data
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.workflow_logs.list_logs(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) response = client.workflow_logs.list_logs( workflow_id="workflow_id", start_date="start_date", end_date="end_date", limit=1, session_id="session_id", status="status", cursor="cursor", summary_only=True, ) for chunk in response.data: yield chunk
-
-
-
workflow_id:
str
-
start_date:
typing.Optional[str]
-
end_date:
typing.Optional[str]
-
limit:
typing.Optional[int]
-
session_id:
typing.Optional[str]
-
status:
typing.Optional[str]
-
cursor:
typing.Optional[str]
-
summary_only:
typing.Optional[bool]
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.workflow_logs.get_details(...)
-
-
-
Get full log details for a specific workflow run. Requires either session_id or workflow_run_id to identify the log.
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.workflow_logs.get_details( workflow_id="workflow_id", session_id="session_id", workflow_run_id="workflow_run_id", )
-
-
-
workflow_id:
str— The workflow ID
-
session_id:
typing.Optional[str]— The session ID to identify the log. Either session_id or workflow_run_id must be provided.
-
workflow_run_id:
typing.Optional[str]— The workflow run ID to identify the log. Either session_id or workflow_run_id must be provided.
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.copilots.list(...)
-
-
-
List all copilots in the organization
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.copilots.list( sort="sort", direction="direction", start_at="start_at", limit=1, query="query", )
-
-
-
sort:
typing.Optional[str]— Field to sort by
-
direction:
typing.Optional[str]— Sort in ascending or descending order
-
start_at:
typing.Optional[str]— created_at to start at
-
limit:
typing.Optional[int]— Limit of records to return
-
query:
typing.Optional[str]— Search query
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.copilots.create(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.copilots.create()
-
-
-
workflow_id:
typing.Optional[str]
-
img_url:
typing.Optional[str]
-
display_name:
typing.Optional[str]
-
mode:
typing.Optional[CopilotConfigMode]
-
code_theme:
typing.Optional[CopilotConfigCodeTheme]
-
colors:
typing.Optional[typing.Dict[str, str]]
-
fab:
typing.Optional[typing.Dict[str, typing.Optional[CopilotConfigFabValue]]]
-
loading_text:
typing.Optional[str]
-
message_placeholder:
typing.Optional[str]
-
initial_activity:
typing.Optional[typing.Sequence[typing.Optional[typing.Any]]]
-
allowed_origins:
typing.Optional[str]
-
powered_by:
typing.Optional[str]
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.copilots.get(...)
-
-
-
Fetch copilot configuration by ID.
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.copilots.get( copilot_id="copilot_id", )
-
-
-
copilot_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.copilots.update(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.copilots.update( copilot_id="copilot_id", )
-
-
-
copilot_id:
str
-
workflow_id:
typing.Optional[str]
-
img_url:
typing.Optional[str]
-
display_name:
typing.Optional[str]
-
mode:
typing.Optional[CopilotConfigMode]
-
code_theme:
typing.Optional[CopilotConfigCodeTheme]
-
colors:
typing.Optional[typing.Dict[str, str]]
-
fab:
typing.Optional[typing.Dict[str, typing.Optional[CopilotConfigFabValue]]]
-
loading_text:
typing.Optional[str]
-
message_placeholder:
typing.Optional[str]
-
initial_activity:
typing.Optional[typing.Sequence[typing.Optional[typing.Any]]]
-
allowed_origins:
typing.Optional[str]
-
powered_by:
typing.Optional[str]
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.copilots.delete(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.copilots.delete( copilot_id="copilot_id", )
-
-
-
copilot_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.triggers.list(...)
-
-
-
All apis and effects are injected into every endpoint via request.context. The request_context() utility can be used to get Intellisense type-completion
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.triggers.list( action_type="workflow.execute", workflow_id="workflow_id", )
-
-
-
action_type:
typing.Optional[ActionType]— Filter by action type
-
workflow_id:
typing.Optional[str]— Filter by workflow ID
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.triggers.create(...)
-
-
-
from scoutos import AgentExecute, Scout, SlackTriggerConfigInput client = Scout( api_key="YOUR_API_KEY", ) client.triggers.create( request=SlackTriggerConfigInput( action=AgentExecute( agent_id="agent_id", ), ), )
-
-
-
request:
TriggersCreateRequest
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.triggers.update(...)
-
-
-
from scoutos import AgentExecute, Scout, SlackTriggerConfigInput client = Scout( api_key="YOUR_API_KEY", ) client.triggers.update( trigger_id="trigger_id", request=SlackTriggerConfigInput( action=AgentExecute( agent_id="agent_id", ), ), )
-
-
-
trigger_id:
str
-
request:
TriggersUpdateRequest
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.triggers.delete(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.triggers.delete( trigger_id="trigger_id", )
-
-
-
trigger_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.triggers.execute_slack()
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.triggers.execute_slack()
-
-
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.triggers.execute_telegram(...)
-
-
-
Receive Telegram webhook updates. Telegram sends POST with JSON body (Update object). Respond 200 quickly; look up Trigger docs for this connection and run agent, streaming replies to Telegram.
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.triggers.execute_telegram( connection_id="connection_id", )
-
-
-
connection_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.triggers.execute_cron()
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.triggers.execute_cron()
-
-
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.triggers.update_cron_auth_headers(...)
-
-
-
Update Cloud Scheduler job Authorization headers for organizations. Lists all Cloud Scheduler jobs and updates those matching the trigger pattern.
Args: dry_run: If True, only shows what would be updated without making changes test_org_id: If provided, only processes jobs for this specific organization ID
Only accessible to Scout internal organizations for security.
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.triggers.update_cron_auth_headers( dry_run=True, test_org_id="test_org_id", )
-
-
-
dry_run:
typing.Optional[bool]
-
test_org_id:
typing.Optional[str]
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.integrations.list(...)
-
-
-
List all OAuth integrations for the organization
If service is 'all', returns integrations for all services.
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.integrations.list( service="service", fetch_icons=True, )
-
-
-
service:
str
-
fetch_icons:
typing.Optional[bool]
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.integrations.list_channels(...)
-
-
-
List all channels for a specific Slack workspace
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.integrations.list_channels( team_id="team_id", )
-
-
-
team_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organizations.delete_integration(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.organizations.delete_integration( integration_type="integration_type", integration_id="integration_id", )
-
-
-
integration_type:
str
-
integration_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.collections.list(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.collections.list( start_at="start_at", limit=1, query="query", tags="tags", sort="sort", drive=True, )
-
-
-
start_at:
typing.Optional[str]— created_at to start at
-
limit:
typing.Optional[int]— Limit of records to return
-
query:
typing.Optional[str]— Search query
-
tags:
typing.Optional[str]— Filter by tags
-
sort:
typing.Optional[str]— Sort
-
drive:
typing.Optional[bool]
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.collections.create(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.collections.create()
-
-
-
collection_display_name:
typing.Optional[str]
-
collection_img_url:
typing.Optional[str]
-
collection_description:
typing.Optional[str]
-
tags:
typing.Optional[typing.Sequence[str]]
-
table_order:
typing.Optional[typing.Sequence[str]]
-
collection_id:
typing.Optional[str]— Optional user-provided collection ID. Must be a lowercase slug (a-z, 0-9, hyphens, underscores) between 3 and 63 characters. If omitted, an ID is auto-generated.
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.collections.get(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.collections.get( collection_id="collection_id", )
-
-
-
collection_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.collections.update(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.collections.update( collection_id="collection_id", )
-
-
-
collection_id:
str
-
collection_display_name:
typing.Optional[str]
-
collection_img_url:
typing.Optional[str]
-
collection_description:
typing.Optional[str]
-
tags:
typing.Optional[typing.Sequence[str]]
-
table_order:
typing.Optional[typing.Sequence[str]]
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.collections.delete(...)
-
-
-
Delete a collection. By default, enqueues deletion and returns immediately. Pass await_completion=true to block until deletion is fully complete.
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.collections.delete( collection_id="collection_id", await_completion=True, )
-
-
-
collection_id:
str
-
await_completion:
typing.Optional[bool]— Whether to wait for collection deletion to complete before responding
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.collections.list_syncs(...)
-
-
-
List Sources by Destination, specifically given a collection and table
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.collections.list_syncs( collection_id="collection_id", table_id="table_id", )
-
-
-
collection_id:
str
-
table_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.collections.get_views(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.collections.get_views( collection_id="collection_id", )
-
-
-
collection_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.collections.update_views(...)
-
-
-
from scoutos import CollectionViewStateInput, Scout client = Scout( api_key="YOUR_API_KEY", ) client.collections.update_views( collection_id="collection_id", view_state=CollectionViewStateInput( organization_id="organization_id", collection_id="collection_id", ), )
-
-
-
collection_id:
str
-
view_state:
CollectionViewStateInput
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.collections.delete_views(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.collections.delete_views( collection_id="collection_id", )
-
-
-
collection_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.collections.list_individual_views(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.collections.list_individual_views( collection_id="collection_id", )
-
-
-
collection_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.collections.create_view(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.collections.create_view( collection_id="collection_id", name="name", )
-
-
-
collection_id:
str
-
name:
str
-
type:
typing.Optional[CreateViewRequestType]
-
emoji:
typing.Optional[str]
-
table_id:
typing.Optional[str]
-
settings:
typing.Optional[CreateViewRequestSettings]
-
visibility:
typing.Optional[ViewVisibility]
-
shared_with:
typing.Optional[typing.Sequence[str]]
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.collections.update_view(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.collections.update_view( collection_id="collection_id", view_id="view_id", )
-
-
-
collection_id:
str
-
view_id:
str
-
name:
typing.Optional[str]
-
type:
typing.Optional[UpdateViewRequestType]
-
emoji:
typing.Optional[str]
-
settings:
typing.Optional[UpdateViewRequestSettings]
-
visibility:
typing.Optional[ViewVisibility]
-
shared_with:
typing.Optional[typing.Sequence[str]]
-
filters:
typing.Optional[typing.Sequence[ViewFilter]]
-
query:
typing.Optional[ViewQueryInput]
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.collections.delete_view(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.collections.delete_view( collection_id="collection_id", view_id="view_id", )
-
-
-
collection_id:
str
-
view_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.tables.list(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.tables.list( collection_id="collection_id", )
-
-
-
collection_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.tables.create(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.tables.create( collection_id="collection_id", )
-
-
-
collection_id:
str
-
table_display_name:
typing.Optional[str]
-
table_img_url:
typing.Optional[str]
-
table_description:
typing.Optional[str]
-
schema:
typing.Optional[typing.Sequence[CreateTableRequestSchemaItem]]
-
icon_emoji:
typing.Optional[str]
-
icon_asset_url:
typing.Optional[str]
-
icon_fill:
typing.Optional[str]
-
plural_name:
typing.Optional[str]
-
table_id:
typing.Optional[str]— Optional user-provided table ID. Must be a lowercase slug (a-z, 0-9, hyphens, underscores) between 3 and 63 characters. If omitted, an ID is auto-generated.
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.tables.get(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.tables.get( collection_id="collection_id", table_id="table_id", )
-
-
-
collection_id:
str
-
table_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.tables.update(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.tables.update( collection_id="collection_id", table_id="table_id", )
-
-
-
collection_id:
str
-
table_id:
str
-
table_display_name:
typing.Optional[str]
-
table_img_url:
typing.Optional[str]
-
table_description:
typing.Optional[str]
-
schema:
typing.Optional[typing.Sequence[TableDataSchemaItem]]
-
icon_emoji:
typing.Optional[str]
-
icon_asset_url:
typing.Optional[str]
-
icon_fill:
typing.Optional[str]
-
plural_name:
typing.Optional[str]
-
index_id:
typing.Optional[str]
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.tables.delete(...)
-
-
-
Delete a table given a collection_id and table_id.
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.tables.delete( collection_id="collection_id", table_id="table_id", )
-
-
-
collection_id:
str
-
table_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.tables.get_schema(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.tables.get_schema( collection_id="collection_id", table_id="table_id", )
-
-
-
collection_id:
str
-
table_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.tables.sync(...)
-
-
-
Sync a table with a list of documents.
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.tables.sync( collection_id="collection_id", table_id="table_id", request=[{"key": "value"}], )
-
-
-
collection_id:
str
-
table_id:
str
-
request:
typing.Sequence[typing.Dict[str, typing.Optional[typing.Any]]]
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.documents.list(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.documents.list( collection_id="collection_id", table_id="table_id", limit=1, cursor="cursor", query="query", offset=1, sort_by="sort_by", filter_column="filter_column", filter_value="filter_value", )
-
-
-
collection_id:
str
-
table_id:
str
-
limit:
typing.Optional[int]— Limit of records to return
-
cursor:
typing.Optional[str]— Cursor to fetch next set of records
-
query:
typing.Optional[str]— Search query
-
offset:
typing.Optional[int]— Offset to fetch next set of records
-
sort_by:
typing.Optional[str]— Sort by field
-
filter_column:
typing.Optional[str]— Column to filter by (column_id or column_display_name). Requires filter_value. Cannot be used with pagination, sorting or query.
-
filter_value:
typing.Optional[str]— Value to match on. No partial text matching. Requires filter_column. Cannot be used with pagination, sorting or query.
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.documents.create(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.documents.create( collection_id="collection_id", table_id="table_id", job_id="job_id", sync_id="sync_id", await_completion=True, mode="mode", merge_fields=True, request={"key": True}, )
-
-
-
collection_id:
str
-
table_id:
str
-
request:
DocumentsCreateRequestBody
-
job_id:
typing.Optional[str]— The job id responsible for the document creation/update
-
sync_id:
typing.Optional[str]— The sync id the job belongs to thats responsible for the document creation/update
-
await_completion:
typing.Optional[bool]— Whether to wait for document creation/update to complete
-
mode:
typing.Optional[str]— The mode to use for the document creation/update
-
merge_fields:
typing.Optional[bool]— Whether to merge only provided fields into existing document
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.documents.update_batch(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.documents.update_batch( collection_id="collection_id", table_id="table_id", job_id="job_id", sync_id="sync_id", await_completion=True, mode="mode", merge_fields=True, request={"key": True}, )
-
-
-
collection_id:
str
-
table_id:
str
-
request:
DocumentsUpdateBatchRequestBody
-
job_id:
typing.Optional[str]— The job id responsible for the document creation/update
-
sync_id:
typing.Optional[str]— The sync id the job belongs to thats responsible for the document creation/update
-
await_completion:
typing.Optional[bool]— Whether to wait for document creation/update to complete
-
mode:
typing.Optional[str]— The mode to use for the document creation/update
-
merge_fields:
typing.Optional[bool]— Whether to merge only provided fields into existing document
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.documents.get(...)
-
-
-
Route handler for getting a document
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.documents.get( collection_id="collection_id", table_id="table_id", document_id="document_id", )
-
-
-
collection_id:
str
-
table_id:
str
-
document_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.documents.update(...)
-
-
-
Route handler for updating a document
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.documents.update( collection_id="collection_id", table_id="table_id", document_id="document_id", request={}, )
-
-
-
collection_id:
str
-
table_id:
str
-
document_id:
str
-
request:
DocumentsUpdateRequest
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.documents.delete(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.documents.delete( collection_id="collection_id", table_id="table_id", document_id="document_id", )
-
-
-
collection_id:
str
-
table_id:
str
-
document_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.documents.delete_batch(...)
-
-
-
Delete documents given a list of document ids.
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.documents.delete_batch( collection_id="collection_id", table_id="table_id", request=["string"], )
-
-
-
collection_id:
str
-
table_id:
str
-
request:
typing.Sequence[str]
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.sources.list()
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.sources.list()
-
-
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.syncs.list()
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.syncs.list()
-
-
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.syncs.create(...)
-
-
-
from scoutos import ( CollectionDestination, Mapping, Scout, SourceSyncGoogleDriveSettings, SyncConfigInput, ) client = Scout( api_key="YOUR_API_KEY", ) client.syncs.create( sync_config=SyncConfigInput( source_settings=SourceSyncGoogleDriveSettings(), destination=CollectionDestination( collection_id="collection_id", table_id="table_id", ), mapping=Mapping(), ), )
-
-
-
sync_config:
SyncConfigInput
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.syncs.get(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.syncs.get( sync_id="sync_id", )
-
-
-
sync_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.syncs.update(...)
-
-
-
from scoutos import ( CollectionDestination, Mapping, Scout, SourceSyncGoogleDriveSettings, SyncConfigInput, ) client = Scout( api_key="YOUR_API_KEY", ) client.syncs.update( sync_id="sync_id", sync_config=SyncConfigInput( source_settings=SourceSyncGoogleDriveSettings(), destination=CollectionDestination( collection_id="collection_id", table_id="table_id", ), mapping=Mapping(), ), )
-
-
-
sync_id:
str
-
sync_config:
SyncConfigInput
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.syncs.delete(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.syncs.delete( sync_id="sync_id", )
-
-
-
sync_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.syncs.execute(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.syncs.execute( sync_id="sync_id", )
-
-
-
sync_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.agents.interact(...)
-
-
-
from scoutos import IncomingMessage, Scout client = Scout( api_key="YOUR_API_KEY", ) response = client.agents.interact( agent_id="agent_id", session_id="session_id", messages=[ IncomingMessage( content="content", ) ], ) for chunk in response.data: yield chunk
-
-
-
agent_id:
str
-
messages:
typing.Sequence[IncomingMessage]— List of incoming user messages and drive file references.
-
session_id:
typing.Optional[str]
-
metadata:
typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]— Optional metadata (e.g., salesforce_session)
-
callback_url:
typing.Optional[str]— Optional callback URL. If provided, the interaction runs asynchronously and the response returns 202 with session_id + events_url.
-
revision_id:
typing.Optional[str]
-
tags:
typing.Optional[typing.Sequence[str]]— Optional tags for categorizing this interaction in observability history. Max 20 tags, each up to 32 lowercase alphanumeric characters plus ':', '_', '-'.
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.agents.interact_sync(...)
-
-
-
from scoutos import IncomingMessage, Scout client = Scout( api_key="YOUR_API_KEY", ) client.agents.interact_sync( agent_id="agent_id", session_id="session_id", messages=[ IncomingMessage( content="content", ) ], )
-
-
-
agent_id:
str
-
messages:
typing.Sequence[IncomingMessage]— List of incoming user messages and drive file references.
-
session_id:
typing.Optional[str]
-
metadata:
typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]— Optional metadata (e.g., salesforce_session)
-
callback_url:
typing.Optional[str]— Optional callback URL. If provided, the interaction runs asynchronously and the response returns 202 with session_id + events_url.
-
revision_id:
typing.Optional[str]
-
tags:
typing.Optional[typing.Sequence[str]]— Optional tags for categorizing this interaction in observability history. Max 20 tags, each up to 32 lowercase alphanumeric characters plus ':', '_', '-'.
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.agents.interact_with_session(...)
-
-
-
from scoutos import IncomingMessage, Scout client = Scout( api_key="YOUR_API_KEY", ) response = client.agents.interact_with_session( agent_id="agent_id", session_id="session_id", messages=[ IncomingMessage( content="content", ) ], ) for chunk in response.data: yield chunk
-
-
-
agent_id:
str
-
session_id:
typing.Optional[str]
-
messages:
typing.Sequence[IncomingMessage]— List of incoming user messages and drive file references.
-
metadata:
typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]— Optional metadata (e.g., salesforce_session)
-
callback_url:
typing.Optional[str]— Optional callback URL. If provided, the interaction runs asynchronously and the response returns 202 with session_id + events_url.
-
revision_id:
typing.Optional[str]
-
tags:
typing.Optional[typing.Sequence[str]]— Optional tags for categorizing this interaction in observability history. Max 20 tags, each up to 32 lowercase alphanumeric characters plus ':', '_', '-'.
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.agents.interact_sync_with_session(...)
-
-
-
from scoutos import IncomingMessage, Scout client = Scout( api_key="YOUR_API_KEY", ) client.agents.interact_sync_with_session( agent_id="agent_id", session_id="session_id", messages=[ IncomingMessage( content="content", ) ], )
-
-
-
agent_id:
str
-
session_id:
typing.Optional[str]
-
messages:
typing.Sequence[IncomingMessage]— List of incoming user messages and drive file references.
-
metadata:
typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]— Optional metadata (e.g., salesforce_session)
-
callback_url:
typing.Optional[str]— Optional callback URL. If provided, the interaction runs asynchronously and the response returns 202 with session_id + events_url.
-
revision_id:
typing.Optional[str]
-
tags:
typing.Optional[typing.Sequence[str]]— Optional tags for categorizing this interaction in observability history. Max 20 tags, each up to 32 lowercase alphanumeric characters plus ':', '_', '-'.
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.agents.interact_async(...)
-
-
-
Dedicated handler for async agent interactions exposed via the SDK.
Requires callback_url and always returns 202 with session_id + events_url.
-
-
-
from scoutos import IncomingMessage, Scout client = Scout( api_key="YOUR_API_KEY", ) client.agents.interact_async( agent_id="agent_id", session_id="session_id", messages=[ IncomingMessage( content="content", ) ], callback_url="callback_url", )
-
-
-
agent_id:
str
-
messages:
typing.Sequence[IncomingMessage]— List of incoming user messages and drive file references.
-
callback_url:
str— Callback URL that Scout will POST to when the interaction completes. The request is signed with HMAC-SHA256 using the organization's secret key.
-
session_id:
typing.Optional[str]
-
metadata:
typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]— Optional metadata (e.g., salesforce_session)
-
tags:
typing.Optional[typing.Sequence[str]]— Optional tags for categorizing this interaction in observability history. Max 20 tags, each up to 32 lowercase alphanumeric characters plus ':', '_', '-'.
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.agents.interact_async_with_session(...)
-
-
-
Dedicated handler for async agent interactions exposed via the SDK.
Requires callback_url and always returns 202 with session_id + events_url.
-
-
-
from scoutos import IncomingMessage, Scout client = Scout( api_key="YOUR_API_KEY", ) client.agents.interact_async_with_session( agent_id="agent_id", session_id="session_id", messages=[ IncomingMessage( content="content", ) ], callback_url="callback_url", )
-
-
-
agent_id:
str
-
session_id:
typing.Optional[str]
-
messages:
typing.Sequence[IncomingMessage]— List of incoming user messages and drive file references.
-
callback_url:
str— Callback URL that Scout will POST to when the interaction completes. The request is signed with HMAC-SHA256 using the organization's secret key.
-
metadata:
typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]— Optional metadata (e.g., salesforce_session)
-
tags:
typing.Optional[typing.Sequence[str]]— Optional tags for categorizing this interaction in observability history. Max 20 tags, each up to 32 lowercase alphanumeric characters plus ':', '_', '-'.
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.agents.list()
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.agents.list()
-
-
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.agents.upsert(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.agents.upsert( agent="agent", revision="revision", )
-
-
-
agent:
str
-
revision:
str
-
agent_id:
typing.Optional[str]
-
activate:
typing.Optional[bool]
-
agent_image: `from future import annotations
typing.Optional[core.File]` — See core.File for more documentation
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.agents.get(...)
-
-
-
Retrieve an agent and its active revision by agent_id. Verifies that the agent belongs to the actor's organization.
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.agents.get( agent_id="agent_id", )
-
-
-
agent_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.agents.delete(...)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.agents.delete( agent_id="agent_id", )
-
-
-
agent_id:
str
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.drive.upload(...)
-
-
-
Upload one or more files to Drive.
files: the file uploads (multipart)metadata: a JSON string containing a list of per-file metadata dicts, positionally aligned withfiles. Each dict may contain:path— fully qualified destination path (takes precedence)folder— destination foldername— destination filename
Resolution logic for each file at index i:
- If path is provided, use it as the fully qualified path
- Else if folder and name are provided, combine as {folder}/{name}
- Else if folder is provided, combine as {folder}/{upload_filename}
- Else if name is provided, use /{name} (root)
- Else fall back to None (domain default behavior)
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.drive.upload()
-
-
-
files: `from future import annotations
typing.List[core.File]` — See core.File for more documentation
-
metadata:
typing.Optional[str]
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.drive.download(...)
-
-
-
Download a single file from Drive.
Provide one of the following to identify the file:
path: fully qualified path (e.g., '/foo/bar/hello.txt')name+folder: file name within a specific folder (e.g., name='hello.txt', folder='/foo/bar')
Returns the file content as a streaming binary response.
-
-
-
from scoutos import Scout client = Scout( api_key="YOUR_API_KEY", ) client.drive.download()
-
-
-
path:
typing.Optional[str]— Fully qualified path to the file (e.g., '/foo/bar/hello.txt')
-
name:
typing.Optional[str]— File name to search for (e.g., 'hello.txt')
-
folder:
typing.Optional[str]— Folder to search within (e.g., '/foo/bar')
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration. You can pass in configuration such aschunk_size, and more to customize the request and response.
-
-