LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
PythonlangsmithclientClientlist_project_issues
Method●Since v0.7

list_project_issues

List issues associated with a tracing project (forge issues board).

Retrieves all issues from the forge issues board that are linked to the given tracing project (identified by its session name).

Copy
list_project_issues(
  self,
  project_name: str,
  *,
  status: Optional[str] = None,
  priority: Optional[str] = None
) -> list[dict]

Example:

from langsmith import Client

client = Client()

# List all issues for a project
issues = client.list_project_issues("my-project")

# Filter by status and priority
open_high = client.list_project_issues(
    "my-project", status="open", priority="high"
)
for issue in open_high:
    print(issue["id"], issue["title"])

Parameters

NameTypeDescription
project_name*str

The name of the tracing project (session) whose issues you want to list.

statusOptional[str]
Default:None

Filter issues by status (e.g. "open", "resolved"). If None, issues of all statuses are returned.

priorityOptional[str]
Default:None

Filter issues by priority (e.g. "high", "medium", "low"). If None, issues of all priorities are returned.

View source on GitHub