Skip to Content
Projects

Projects

The Projects API allows you to retrieve information about your projects, including statistics about recordings, insights, and chats.

Get Project

Retrieves details about a specific project, including metadata and statistics.

GET /v2/projects/{projectId}

Headers

HeaderTypeRequiredDescription
x-api-keystringYesYour API key (requires read permission)

Path Parameters

ParameterTypeDescription
projectIdstringThe project’s unique identifier (MongoDB ObjectId)

Response

200 OK

{ "id": "507f1f77bcf86cd799439011", "organizationId": "507f1f77bcf86cd799439012", "name": "User Research Q1 2025", "description": "User interviews for the new checkout flow", "category": "user_research", "stats": { "recordingsCount": 15, "insightsCount": 42, "chatsCount": 5 }, "createdAt": "2024-01-15T10:30:00.000Z" }

Response Fields

FieldTypeDescription
idstringUnique project identifier
organizationIdstringOrganization that owns the project
namestringProject name
descriptionstring | nullOptional project description
categorystringProject category (see categories below)
statsobjectProject statistics
stats.recordingsCountnumberTotal number of recordings in the project
stats.insightsCountnumberTotal number of insights generated
stats.chatsCountnumberTotal number of AI chat sessions
createdAtstringISO 8601 timestamp when project was created

Project Categories

Projects can be categorized for better organization:

CategoryDescription
genericGeneral purpose project
salesSales calls and demos
ui_uxUI/UX research and testing
hr_interviewHR interviews and candidate screening
user_researchUser research and interviews
product_feedbackProduct feedback sessions
customer_supportCustomer support calls
podcastPodcast recordings
thought_leadershipThought leadership content
internal_meetingInternal team meetings

Example Request

curl -X GET "https://api.yeino.com/v2/projects/507f1f77bcf86cd799439011" \ -H "x-api-key: yno_live_abc123..."

Example Response

{ "id": "507f1f77bcf86cd799439011", "organizationId": "507f1f77bcf86cd799439012", "name": "User Research Q1 2025", "description": "User interviews for the new checkout flow", "category": "user_research", "stats": { "recordingsCount": 15, "insightsCount": 42, "chatsCount": 5 }, "createdAt": "2024-01-15T10:30:00.000Z" }

Error Responses

Status CodeErrorDescription
401UnauthorizedInvalid or missing API key
403ForbiddenAPI key doesn’t have read permission
404Not FoundProject not found or not accessible to your organization
500Internal Server ErrorServer error (contact support if persistent)

401 Unauthorized Example:

{ "statusCode": 401, "message": "Invalid API key.", "error": "Unauthorized" }

404 Not Found Example:

{ "statusCode": 404, "message": "Project not found.", "error": "Not Found" }

Use Cases

  • Dashboard Integration - Display project statistics in custom dashboards
  • Reporting - Generate reports on project activity
  • Project Validation - Verify project exists before uploading recordings
  • Analytics - Track project growth and engagement metrics

Notes

  • Projects are organization-scoped. You can only access projects within your organization.
  • Statistics are calculated in real-time and reflect current counts.
  • The category field helps organize projects but doesn’t affect functionality.
Last updated on