Time Logged Run in API Explorer

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://apidocs.plannrcrm.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"PlannrCRM MCP server": {
  "url": "https://apidocs.plannrcrm.com/mcp"
}
Close
GET /api/v1/metrics/time-logged

Get the total amount of time-logged for a firm for the current date or the end of the date supplied.

Query parameters

  • date string

    The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).

application/json

Body

  • date string(date)

    The date which you would like to run the key metric from.

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • data array[object]

      The value of the key metric.

      Hide data attributes Show data attributes object
      • metric string
      • data string
      • date string
      • requested_at string
GET /api/v1/metrics/time-logged
curl \
 --request GET 'https://api.plannrcrm.com/api/v1/metrics/time-logged' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"date":"2023-01-01"}'
Request examples
{
  "date": "2023-01-01"
}
Response examples (200)
{
  "data": [
    [
      {
        "metric": "time_logged",
        "data": "123",
        "date": "2023-06-30",
        "requested_at": "2023-07-01 12:30:45"
      }
    ]
  ]
}