parts

Get Post

POST

Request

This endpoint expects an object.
id
stringRequired
The ID of the part to retrieve.

Response

This endpoint returns an object
part
union
POST
1curl -X POST https://api.devrev.ai/parts.get \
2 -H "Authorization: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "id": "string"
6}'
200Successful
1{
2 "part": {
3 "type": "capability",
4 "id": "string",
5 "name": "string",
6 "owned_by": [
7 {
8 "type": "dev_user",
9 "id": "string",
10 "display_id": "string",
11 "display_name": "string",
12 "display_picture": {
13 "id": "string",
14 "display_id": "string"
15 },
16 "email": "string",
17 "full_name": "string",
18 "state": "active"
19 }
20 ],
21 "artifacts": [
22 {
23 "id": "string",
24 "display_id": "string"
25 }
26 ],
27 "created_by": {
28 "type": "dev_user",
29 "id": "string",
30 "display_id": "string",
31 "display_name": "string",
32 "display_picture": {
33 "id": "string",
34 "display_id": "string"
35 },
36 "email": "string",
37 "full_name": "string",
38 "state": "active"
39 },
40 "created_date": "2023-01-01T00:00:00Z",
41 "description": "string",
42 "display_id": "string",
43 "modified_by": {
44 "type": "dev_user",
45 "id": "string",
46 "display_id": "string",
47 "display_name": "string",
48 "display_picture": {
49 "id": "string",
50 "display_id": "string"
51 },
52 "email": "string",
53 "full_name": "string",
54 "state": "active"
55 },
56 "modified_date": "2023-01-01T00:00:00Z",
57 "tags": [
58 {
59 "tag": {
60 "id": "string",
61 "name": "string",
62 "display_id": "string"
63 },
64 "value": "string"
65 }
66 ]
67 }
68}