Git AI
SDK / APIContributors

Get contributor profile

GET
/contributors/{user_id}

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

user_id*string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/contributors/string"
{  "object": "response",  "data": {    "object": "contributor",    "userId": "string",    "email": "string",    "displayName": "string",    "topAgent": "string",    "topModel": "string",    "lastActiveAt": "2019-08-24T14:15:22Z"  },  "meta": {    "requestId": "string",    "pagination": {      "limit": 1,      "offset": 0,      "total": 0,      "hasMore": true,      "nextOffset": 0    }  }}
{  "object": "error",  "error": {    "code": "invalid_request",    "message": "string",    "details": null  },  "meta": {    "requestId": "string"  }}
{  "object": "error",  "error": {    "code": "invalid_request",    "message": "string",    "details": null  },  "meta": {    "requestId": "string"  }}
{  "object": "error",  "error": {    "code": "invalid_request",    "message": "string",    "details": null  },  "meta": {    "requestId": "string"  }}