MCPcopy Create free account
hub / github.com/AgentOps-AI/agentops / TokenResponse

Class TokenResponse

app/api/agentops/api/routes/v3.py:33–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31
32
33class TokenResponse(pydantic.BaseModel):
34 token: str
35 project_id: str
36 project_prem_status: str
37
38 @pydantic.field_validator("project_id", "token", mode="before")
39 @classmethod
40 def format_uuid(cls, v):
41 """Convert UUID to string format."""
42 if isinstance(v, str):
43 return v
44 return str(v)
45
46
47class VerifyTokenResponse(pydantic.BaseModel):

Callers 1

get_tokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…