Skip to main content
GET
/
projects
/
current
JavaScript
import Reminix from '@reminix/sdk';

const client = new Reminix({
  apiKey: process.env['REMINIX_API_KEY'], // This is the default and can be omitted
});

const project = await client.projects.retrieveCurrent();

console.log(project.id);
{
  "id": "proj_abc123",
  "organizationId": "org_xyz789",
  "name": "My Project",
  "slug": "my-project",
  "createdAt": "2024-01-15T10:30:00Z",
  "updatedAt": "2024-01-20T14:22:00Z",
  "organization": {
    "id": "org_xyz789",
    "name": "My Organization",
    "slug": "my-org"
  }
}

Authorizations

Authorization
string
header
required

API Key or Personal Access Token (PAT). When using PAT, include X-Project header.

Response

Project found

id
string
required

Unique identifier for the project

organizationId
string
required

ID of the organization that owns this project

name
string
required

Human-readable name of the project

slug
string
required

URL-friendly identifier for the project

createdAt
string<date-time>
required

ISO 8601 timestamp when the project was created

updatedAt
string<date-time>
required

ISO 8601 timestamp when the project was last updated

organization
object
required

Organization that owns this project