Skip to main content
Glama
background_jobs.py879 B
""" Pydantic models for Background Job operations. """ from typing import Optional from pydantic import BaseModel, Field, ConfigDict class ListBackgroundJobsInput(BaseModel): """Input for listing background jobs with pagination.""" model_config = ConfigDict(str_strip_whitespace=True, extra="ignore") limit: Optional[int] = Field( default=100, ge=1, le=100, description="Results per page (1-100, default: 100)" ) starting_after: Optional[str] = Field( default=None, description="Pagination cursor - use value from pagination.next_starting_after to get next page" ) class GetBackgroundJobInput(BaseModel): """Input for getting a specific background job.""" model_config = ConfigDict(str_strip_whitespace=True, extra="ignore") job_id: str = Field(..., description="Background job UUID")

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bcharleson/instantly-mcp-python'

If you have feedback or need assistance with the MCP directory API, please join our Discord server