For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Sign inTry it free
DocsGuidesSDKsIntegrationsAPI docsTutorialsFlagship blog
DocsGuidesSDKsIntegrationsAPI docsTutorialsFlagship blog
  • REST API overview
    • Access Tokens
    • Account Members
    • Account Usage Beta
    • AI Configs
    • Announcements
    • Applications Beta
    • Approvals
    • Approvals Beta
    • Audit Log
    • Code References
    • Contexts
    • Context Settings
    • Custom Roles
    • Data Export Destinations
    • Environments
    • Experiments
    • Feature Flags
    • Feature Flags Beta
    • Flag Import Configurations Beta
    • Flag Links Beta
    • Flag Triggers
    • Follow Flags
    • Holdouts Beta
    • Insights Charts Beta
    • Insights Deployments Beta
    • Insights Flag Events Beta
    • Insights Pull Requests Beta
    • Insights Repositories Beta
    • Insights Scores Beta
    • Integration Audit Log Subscriptions
    • Integration Delivery Configurations Beta
    • Integrations Beta
    • Layers
    • Metrics
    • Metrics Beta
    • OAuth2 Clients
    • Persistent Store Integrations Beta
    • Projects
    • Relay Proxy Configurations
    • Release Pipelines Beta
    • Releases Beta
    • Scheduled Changes
    • Segments
    • Tags
    • Teams
    • Teams Beta
    • Users
    • Users Beta
    • User Settings
    • Views Beta
      • POSTCreate view
      • DELDelete view
      • GETGet linked resources
      • GETGet linked views for a given resource
      • GETGet view
      • POSTLink resource
      • GETList views
      • DELUnlink resource
      • PATCHUpdate view
    • Webhooks
    • Workflows
    • Workflow Templates
    • Other
Sign inTry it free
LogoLogo
REST API overviewViews Beta

Get linked resources

GET
/api/v2/projects/:projectKey/views/:viewKey/linked/:resourceType
GET
/api/v2/projects/:projectKey/views/:viewKey/linked/:resourceType
$curl https://app.launchdarkly.com/api/v2/projects/default/views/my-view/linked/flags \
> -H "LD-API-Version: beta" \
> -H "Authorization: <apiKey>"
1{
2 "items": [
3 {
4 "_links": {
5 "self": {
6 "href": "href",
7 "type": "type"
8 },
9 "parent": {
10 "href": "href",
11 "type": "type"
12 }
13 },
14 "resourceKey": "resourceKey",
15 "resourceType": "flag",
16 "linkedAt": 1,
17 "environmentId": "environmentId",
18 "environmentKey": "environmentKey",
19 "resourceDetails": {
20 "view": {
21 "id": "id",
22 "accountId": "accountId",
23 "projectId": "projectId",
24 "projectKey": "projectKey",
25 "key": "key",
26 "name": "name",
27 "description": "description",
28 "_affectsSdkPayload": true,
29 "version": 0,
30 "tags": [
31 "tags",
32 "tags"
33 ],
34 "createdAt": 6,
35 "updatedAt": 1,
36 "archived": false,
37 "deleted": false,
38 "_access": {
39 "allowed": [
40 {
41 "action": "action",
42 "reason": {
43 "effect": "allow",
44 "resources": [
45 "proj/*:env/*;qa_*:/flag/*"
46 ],
47 "notResources": [
48 "notResources",
49 "notResources"
50 ],
51 "actions": [
52 "*"
53 ],
54 "notActions": [
55 "string",
56 "string"
57 ],
58 "role_name": "role_name"
59 }
60 },
61 {
62 "action": "action",
63 "reason": {
64 "effect": "allow",
65 "resources": [
66 "proj/*:env/*;qa_*:/flag/*"
67 ],
68 "notResources": [
69 "notResources",
70 "notResources"
71 ],
72 "actions": [
73 "*"
74 ],
75 "notActions": [
76 "string",
77 "string"
78 ],
79 "role_name": "role_name"
80 }
81 }
82 ],
83 "denied": [
84 {
85 "action": "action",
86 "reason": {
87 "effect": "allow",
88 "resources": [
89 "proj/*:env/*;qa_*:/flag/*"
90 ],
91 "notResources": [
92 "notResources",
93 "notResources"
94 ],
95 "actions": [
96 "*"
97 ],
98 "notActions": [
99 "string",
100 "string"
101 ],
102 "role_name": "role_name"
103 }
104 },
105 {
106 "action": "action",
107 "reason": {
108 "effect": "allow",
109 "resources": [
110 "proj/*:env/*;qa_*:/flag/*"
111 ],
112 "notResources": [
113 "notResources",
114 "notResources"
115 ],
116 "actions": [
117 "*"
118 ],
119 "notActions": [
120 "string",
121 "string"
122 ],
123 "role_name": "role_name"
124 }
125 }
126 ]
127 },
128 "_links": {
129 "self": {
130 "href": "href",
131 "type": "type"
132 },
133 "parent": {
134 "href": "href",
135 "type": "type"
136 }
137 },
138 "archivedAt": 5,
139 "deletedAt": 5,
140 "maintainer": {
141 "id": "id",
142 "kind": "kind",
143 "maintainerMember": {
144 "id": "id",
145 "email": "email",
146 "role": "role",
147 "firstName": "firstName",
148 "lastName": "lastName"
149 },
150 "maintainerTeam": {
151 "id": "id",
152 "key": "key",
153 "name": "name"
154 }
155 },
156 "flagsSummary": {
157 "count": 2,
158 "linkedFlags": {
159 "items": [
160 {
161 "key": "key",
162 "name": "name",
163 "links": {
164 "self": {
165 "href": "href",
166 "type": "type"
167 }
168 }
169 },
170 {
171 "key": "key",
172 "name": "name",
173 "links": {
174 "self": {
175 "href": "href",
176 "type": "type"
177 }
178 }
179 }
180 ],
181 "totalCount": 7
182 }
183 },
184 "segmentsSummary": {
185 "count": 9,
186 "linkedSegments": {
187 "items": [
188 {
189 "key": "key",
190 "name": "name",
191 "environmentId": "environmentId",
192 "links": {
193 "self": {
194 "href": "href",
195 "type": "type"
196 }
197 }
198 },
199 {
200 "key": "key",
201 "name": "name",
202 "environmentId": "environmentId",
203 "links": {
204 "self": {
205 "href": "href",
206 "type": "type"
207 }
208 }
209 }
210 ],
211 "totalCount": 3
212 }
213 },
214 "metricsSummary": {
215 "count": 2
216 },
217 "aiConfigsSummary": {
218 "count": 4
219 },
220 "resourceSummary": {
221 "flagCount": 7,
222 "totalCount": 6,
223 "segmentCount": 1,
224 "metricCount": 1,
225 "aiConfigCount": 1
226 },
227 "flagsExpanded": {
228 "items": [
229 {
230 "key": "key",
231 "name": "name",
232 "description": "description",
233 "creationDate": 7,
234 "_version": 1,
235 "archived": true,
236 "tags": [
237 "tags",
238 "tags"
239 ],
240 "temporary": true,
241 "includeInSnippet": true,
242 "maintainer": {
243 "key": "key",
244 "kind": "member",
245 "_member": {
246 "_links": {
247 "self": {
248 "href": "/api/v2/members/569f183514f4432160000007",
249 "type": "application/json"
250 }
251 },
252 "_id": "569f183514f4432160000007",
253 "role": "admin",
254 "email": "ariel@acme.com",
255 "firstName": "Ariel",
256 "lastName": "Flores"
257 },
258 "_team": {
259 "customRoleKeys": [
260 "access-to-test-projects"
261 ],
262 "key": "team-key-123abc",
263 "name": "QA Team",
264 "_links": {
265 "key": {
266 "href": "href",
267 "type": "type"
268 }
269 }
270 }
271 },
272 "_links": {
273 "self": {
274 "href": "href",
275 "type": "type"
276 },
277 "parent": {
278 "href": "href",
279 "type": "type"
280 }
281 }
282 },
283 {
284 "key": "key",
285 "name": "name",
286 "description": "description",
287 "creationDate": 7,
288 "_version": 1,
289 "archived": true,
290 "tags": [
291 "tags",
292 "tags"
293 ],
294 "temporary": true,
295 "includeInSnippet": true,
296 "maintainer": {
297 "key": "key",
298 "kind": "member",
299 "_member": {
300 "_links": {
301 "self": {
302 "href": "/api/v2/members/569f183514f4432160000007",
303 "type": "application/json"
304 }
305 },
306 "_id": "569f183514f4432160000007",
307 "role": "admin",
308 "email": "ariel@acme.com",
309 "firstName": "Ariel",
310 "lastName": "Flores"
311 },
312 "_team": {
313 "customRoleKeys": [
314 "access-to-test-projects"
315 ],
316 "key": "team-key-123abc",
317 "name": "QA Team",
318 "_links": {
319 "key": {
320 "href": "href",
321 "type": "type"
322 }
323 }
324 }
325 },
326 "_links": {
327 "self": {
328 "href": "href",
329 "type": "type"
330 },
331 "parent": {
332 "href": "href",
333 "type": "type"
334 }
335 }
336 }
337 ],
338 "totalCount": 4
339 },
340 "segmentsExpanded": {
341 "items": [
342 {
343 "key": "key",
344 "name": "name",
345 "environmentId": "environmentId",
346 "environmentKey": "environmentKey",
347 "description": "description",
348 "creationDate": 5,
349 "lastModifiedDate": 9,
350 "deleted": true,
351 "tags": [
352 "tags",
353 "tags"
354 ],
355 "unbounded": true,
356 "version": 9,
357 "generation": 6,
358 "_links": {
359 "self": {
360 "href": "href",
361 "type": "type"
362 },
363 "parent": {
364 "href": "href",
365 "type": "type"
366 }
367 }
368 },
369 {
370 "key": "key",
371 "name": "name",
372 "environmentId": "environmentId",
373 "environmentKey": "environmentKey",
374 "description": "description",
375 "creationDate": 5,
376 "lastModifiedDate": 9,
377 "deleted": true,
378 "tags": [
379 "tags",
380 "tags"
381 ],
382 "unbounded": true,
383 "version": 9,
384 "generation": 6,
385 "_links": {
386 "self": {
387 "href": "href",
388 "type": "type"
389 },
390 "parent": {
391 "href": "href",
392 "type": "type"
393 }
394 }
395 }
396 ],
397 "totalCount": 8
398 },
399 "metricsExpanded": {
400 "items": [
401 {
402 "key": "key",
403 "name": "name",
404 "creationDate": 9,
405 "lastModified": 6,
406 "isActive": true,
407 "eventKey": "eventKey",
408 "_id": "_id",
409 "_versionId": "_versionId",
410 "kind": "kind",
411 "category": "category",
412 "description": "description",
413 "isNumeric": true,
414 "lastSeen": 3,
415 "_links": {
416 "self": {
417 "href": "href",
418 "type": "type"
419 },
420 "parent": {
421 "href": "href",
422 "type": "type"
423 }
424 }
425 },
426 {
427 "key": "key",
428 "name": "name",
429 "creationDate": 9,
430 "lastModified": 6,
431 "isActive": true,
432 "eventKey": "eventKey",
433 "_id": "_id",
434 "_versionId": "_versionId",
435 "kind": "kind",
436 "category": "category",
437 "description": "description",
438 "isNumeric": true,
439 "lastSeen": 3,
440 "_links": {
441 "self": {
442 "href": "href",
443 "type": "type"
444 },
445 "parent": {
446 "href": "href",
447 "type": "type"
448 }
449 }
450 }
451 ],
452 "totalCount": 6
453 },
454 "aiConfigsExpanded": {
455 "items": [
456 {
457 "key": "key",
458 "name": "name",
459 "tags": [
460 "tags",
461 "tags"
462 ],
463 "description": "description",
464 "version": 1,
465 "createdAt": 2,
466 "updatedAt": 6,
467 "flagKey": "flagKey",
468 "_links": {
469 "self": {
470 "href": "href",
471 "type": "type"
472 },
473 "parent": {
474 "href": "href",
475 "type": "type"
476 }
477 }
478 },
479 {
480 "key": "key",
481 "name": "name",
482 "tags": [
483 "tags",
484 "tags"
485 ],
486 "description": "description",
487 "version": 1,
488 "createdAt": 2,
489 "updatedAt": 6,
490 "flagKey": "flagKey",
491 "_links": {
492 "self": {
493 "href": "href",
494 "type": "type"
495 },
496 "parent": {
497 "href": "href",
498 "type": "type"
499 }
500 }
501 }
502 ],
503 "totalCount": 6
504 },
505 "resourcesExpanded": {
506 "items": {
507 "flags": {
508 "items": [
509 {
510 "key": "key",
511 "name": "name",
512 "description": "description",
513 "creationDate": 7,
514 "_version": 1,
515 "archived": true,
516 "tags": [
517 "tags",
518 "tags"
519 ],
520 "temporary": true,
521 "includeInSnippet": true,
522 "maintainer": {
523 "key": "key",
524 "kind": "member",
525 "_member": {
526 "_links": {
527 "self": {
528 "href": "/api/v2/members/569f183514f4432160000007",
529 "type": "application/json"
530 }
531 },
532 "_id": "569f183514f4432160000007",
533 "role": "admin",
534 "email": "ariel@acme.com",
535 "firstName": "Ariel",
536 "lastName": "Flores"
537 },
538 "_team": {
539 "customRoleKeys": [
540 "access-to-test-projects"
541 ],
542 "key": "team-key-123abc",
543 "name": "QA Team",
544 "_links": {
545 "key": {
546 "href": "href",
547 "type": "type"
548 }
549 }
550 }
551 },
552 "_links": {
553 "self": {
554 "href": "href",
555 "type": "type"
556 },
557 "parent": {
558 "href": "href",
559 "type": "type"
560 }
561 }
562 },
563 {
564 "key": "key",
565 "name": "name",
566 "description": "description",
567 "creationDate": 7,
568 "_version": 1,
569 "archived": true,
570 "tags": [
571 "tags",
572 "tags"
573 ],
574 "temporary": true,
575 "includeInSnippet": true,
576 "maintainer": {
577 "key": "key",
578 "kind": "member",
579 "_member": {
580 "_links": {
581 "self": {
582 "href": "/api/v2/members/569f183514f4432160000007",
583 "type": "application/json"
584 }
585 },
586 "_id": "569f183514f4432160000007",
587 "role": "admin",
588 "email": "ariel@acme.com",
589 "firstName": "Ariel",
590 "lastName": "Flores"
591 },
592 "_team": {
593 "customRoleKeys": [
594 "access-to-test-projects"
595 ],
596 "key": "team-key-123abc",
597 "name": "QA Team",
598 "_links": {
599 "key": {
600 "href": "href",
601 "type": "type"
602 }
603 }
604 }
605 },
606 "_links": {
607 "self": {
608 "href": "href",
609 "type": "type"
610 },
611 "parent": {
612 "href": "href",
613 "type": "type"
614 }
615 }
616 }
617 ],
618 "totalCount": 5
619 },
620 "segments": {
621 "items": [
622 {
623 "key": "key",
624 "name": "name",
625 "environmentId": "environmentId",
626 "environmentKey": "environmentKey",
627 "description": "description",
628 "creationDate": 5,
629 "lastModifiedDate": 9,
630 "deleted": true,
631 "tags": [
632 "tags",
633 "tags"
634 ],
635 "unbounded": true,
636 "version": 9,
637 "generation": 6,
638 "_links": {
639 "self": {
640 "href": "href",
641 "type": "type"
642 },
643 "parent": {
644 "href": "href",
645 "type": "type"
646 }
647 }
648 },
649 {
650 "key": "key",
651 "name": "name",
652 "environmentId": "environmentId",
653 "environmentKey": "environmentKey",
654 "description": "description",
655 "creationDate": 5,
656 "lastModifiedDate": 9,
657 "deleted": true,
658 "tags": [
659 "tags",
660 "tags"
661 ],
662 "unbounded": true,
663 "version": 9,
664 "generation": 6,
665 "_links": {
666 "self": {
667 "href": "href",
668 "type": "type"
669 },
670 "parent": {
671 "href": "href",
672 "type": "type"
673 }
674 }
675 }
676 ],
677 "totalCount": 6
678 },
679 "aiConfigs": {
680 "totalCount": 3,
681 "items": [
682 {
683 "createdAt": 2,
684 "_links": {
685 "parent": {
686 "href": "href",
687 "type": "type"
688 },
689 "self": {
690 "href": "href",
691 "type": "type"
692 }
693 },
694 "name": "name",
695 "description": "description",
696 "version": 1,
697 "key": "key",
698 "flagKey": "flagKey",
699 "tags": [
700 "tags",
701 "tags"
702 ],
703 "updatedAt": 6
704 },
705 {
706 "createdAt": 2,
707 "_links": {
708 "parent": {
709 "href": "href",
710 "type": "type"
711 },
712 "self": {
713 "href": "href",
714 "type": "type"
715 }
716 },
717 "name": "name",
718 "description": "description",
719 "version": 1,
720 "key": "key",
721 "flagKey": "flagKey",
722 "tags": [
723 "tags",
724 "tags"
725 ],
726 "updatedAt": 6
727 }
728 ]
729 },
730 "metrics": {
731 "totalCount": 3,
732 "items": [
733 {
734 "_links": {
735 "parent": {
736 "href": "href",
737 "type": "type"
738 },
739 "self": {
740 "href": "href",
741 "type": "type"
742 }
743 },
744 "kind": "kind",
745 "description": "description",
746 "creationDate": 9,
747 "isActive": true,
748 "lastSeen": 3,
749 "eventKey": "eventKey",
750 "_versionId": "_versionId",
751 "isNumeric": true,
752 "name": "name",
753 "lastModified": 6,
754 "_id": "_id",
755 "category": "category",
756 "key": "key"
757 },
758 {
759 "_links": {
760 "parent": {
761 "href": "href",
762 "type": "type"
763 },
764 "self": {
765 "href": "href",
766 "type": "type"
767 }
768 },
769 "kind": "kind",
770 "description": "description",
771 "creationDate": 9,
772 "isActive": true,
773 "lastSeen": 3,
774 "eventKey": "eventKey",
775 "_versionId": "_versionId",
776 "isNumeric": true,
777 "name": "name",
778 "lastModified": 6,
779 "_id": "_id",
780 "category": "category",
781 "key": "key"
782 }
783 ]
784 }
785 },
786 "totalCount": 7
787 },
788 "generateSdkKeys": true
789 },
790 "flag": {
791 "key": "key",
792 "name": "name",
793 "description": "description",
794 "creationDate": 7,
795 "_version": 1,
796 "archived": true,
797 "tags": [
798 "tags",
799 "tags"
800 ],
801 "temporary": true,
802 "includeInSnippet": true,
803 "maintainer": {
804 "key": "key",
805 "kind": "member",
806 "_member": {
807 "_links": {
808 "self": {
809 "href": "/api/v2/members/569f183514f4432160000007",
810 "type": "application/json"
811 }
812 },
813 "_id": "569f183514f4432160000007",
814 "role": "admin",
815 "email": "ariel@acme.com",
816 "firstName": "Ariel",
817 "lastName": "Flores"
818 },
819 "_team": {
820 "customRoleKeys": [
821 "access-to-test-projects"
822 ],
823 "key": "team-key-123abc",
824 "name": "QA Team",
825 "_links": {
826 "key": {
827 "href": "href",
828 "type": "type"
829 }
830 }
831 }
832 },
833 "_links": {
834 "self": {
835 "href": "href",
836 "type": "type"
837 },
838 "parent": {
839 "href": "href",
840 "type": "type"
841 }
842 }
843 },
844 "segment": {
845 "key": "key",
846 "name": "name",
847 "environmentId": "environmentId",
848 "environmentKey": "environmentKey",
849 "description": "description",
850 "creationDate": 5,
851 "lastModifiedDate": 9,
852 "deleted": true,
853 "tags": [
854 "tags",
855 "tags"
856 ],
857 "unbounded": true,
858 "version": 9,
859 "generation": 6,
860 "_links": {
861 "self": {
862 "href": "href",
863 "type": "type"
864 },
865 "parent": {
866 "href": "href",
867 "type": "type"
868 }
869 }
870 },
871 "aiConfig": {
872 "key": "key",
873 "name": "name",
874 "tags": [
875 "tags",
876 "tags"
877 ],
878 "description": "description",
879 "version": 1,
880 "createdAt": 2,
881 "updatedAt": 6,
882 "flagKey": "flagKey",
883 "_links": {
884 "self": {
885 "href": "href",
886 "type": "type"
887 },
888 "parent": {
889 "href": "href",
890 "type": "type"
891 }
892 }
893 },
894 "metric": {
895 "key": "key",
896 "name": "name",
897 "creationDate": 9,
898 "lastModified": 6,
899 "isActive": true,
900 "eventKey": "eventKey",
901 "_id": "_id",
902 "_versionId": "_versionId",
903 "kind": "kind",
904 "category": "category",
905 "description": "description",
906 "isNumeric": true,
907 "lastSeen": 3,
908 "_links": {
909 "self": {
910 "href": "href",
911 "type": "type"
912 },
913 "parent": {
914 "href": "href",
915 "type": "type"
916 }
917 }
918 }
919 }
920 },
921 {
922 "_links": {
923 "self": {
924 "href": "href",
925 "type": "type"
926 },
927 "parent": {
928 "href": "href",
929 "type": "type"
930 }
931 },
932 "resourceKey": "resourceKey",
933 "resourceType": "flag",
934 "linkedAt": 1,
935 "environmentId": "environmentId",
936 "environmentKey": "environmentKey",
937 "resourceDetails": {
938 "view": {
939 "id": "id",
940 "accountId": "accountId",
941 "projectId": "projectId",
942 "projectKey": "projectKey",
943 "key": "key",
944 "name": "name",
945 "description": "description",
946 "_affectsSdkPayload": true,
947 "version": 0,
948 "tags": [
949 "tags",
950 "tags"
951 ],
952 "createdAt": 6,
953 "updatedAt": 1,
954 "archived": false,
955 "deleted": false,
956 "_access": {
957 "allowed": [
958 {
959 "action": "action",
960 "reason": {
961 "effect": "allow",
962 "resources": [
963 "proj/*:env/*;qa_*:/flag/*"
964 ],
965 "notResources": [
966 "notResources",
967 "notResources"
968 ],
969 "actions": [
970 "*"
971 ],
972 "notActions": [
973 "string",
974 "string"
975 ],
976 "role_name": "role_name"
977 }
978 },
979 {
980 "action": "action",
981 "reason": {
982 "effect": "allow",
983 "resources": [
984 "proj/*:env/*;qa_*:/flag/*"
985 ],
986 "notResources": [
987 "notResources",
988 "notResources"
989 ],
990 "actions": [
991 "*"
992 ],
993 "notActions": [
994 "string",
995 "string"
996 ],
997 "role_name": "role_name"
998 }
999 }
1000 ],
1001 "denied": [
1002 {
1003 "action": "action",
1004 "reason": {
1005 "effect": "allow",
1006 "resources": [
1007 "proj/*:env/*;qa_*:/flag/*"
1008 ],
1009 "notResources": [
1010 "notResources",
1011 "notResources"
1012 ],
1013 "actions": [
1014 "*"
1015 ],
1016 "notActions": [
1017 "string",
1018 "string"
1019 ],
1020 "role_name": "role_name"
1021 }
1022 },
1023 {
1024 "action": "action",
1025 "reason": {
1026 "effect": "allow",
1027 "resources": [
1028 "proj/*:env/*;qa_*:/flag/*"
1029 ],
1030 "notResources": [
1031 "notResources",
1032 "notResources"
1033 ],
1034 "actions": [
1035 "*"
1036 ],
1037 "notActions": [
1038 "string",
1039 "string"
1040 ],
1041 "role_name": "role_name"
1042 }
1043 }
1044 ]
1045 },
1046 "_links": {
1047 "self": {
1048 "href": "href",
1049 "type": "type"
1050 },
1051 "parent": {
1052 "href": "href",
1053 "type": "type"
1054 }
1055 },
1056 "archivedAt": 5,
1057 "deletedAt": 5,
1058 "maintainer": {
1059 "id": "id",
1060 "kind": "kind",
1061 "maintainerMember": {
1062 "id": "id",
1063 "email": "email",
1064 "role": "role",
1065 "firstName": "firstName",
1066 "lastName": "lastName"
1067 },
1068 "maintainerTeam": {
1069 "id": "id",
1070 "key": "key",
1071 "name": "name"
1072 }
1073 },
1074 "flagsSummary": {
1075 "count": 2,
1076 "linkedFlags": {
1077 "items": [
1078 {
1079 "key": "key",
1080 "name": "name",
1081 "links": {
1082 "self": {
1083 "href": "href",
1084 "type": "type"
1085 }
1086 }
1087 },
1088 {
1089 "key": "key",
1090 "name": "name",
1091 "links": {
1092 "self": {
1093 "href": "href",
1094 "type": "type"
1095 }
1096 }
1097 }
1098 ],
1099 "totalCount": 7
1100 }
1101 },
1102 "segmentsSummary": {
1103 "count": 9,
1104 "linkedSegments": {
1105 "items": [
1106 {
1107 "key": "key",
1108 "name": "name",
1109 "environmentId": "environmentId",
1110 "links": {
1111 "self": {
1112 "href": "href",
1113 "type": "type"
1114 }
1115 }
1116 },
1117 {
1118 "key": "key",
1119 "name": "name",
1120 "environmentId": "environmentId",
1121 "links": {
1122 "self": {
1123 "href": "href",
1124 "type": "type"
1125 }
1126 }
1127 }
1128 ],
1129 "totalCount": 3
1130 }
1131 },
1132 "metricsSummary": {
1133 "count": 2
1134 },
1135 "aiConfigsSummary": {
1136 "count": 4
1137 },
1138 "resourceSummary": {
1139 "flagCount": 7,
1140 "totalCount": 6,
1141 "segmentCount": 1,
1142 "metricCount": 1,
1143 "aiConfigCount": 1
1144 },
1145 "flagsExpanded": {
1146 "items": [
1147 {
1148 "key": "key",
1149 "name": "name",
1150 "description": "description",
1151 "creationDate": 7,
1152 "_version": 1,
1153 "archived": true,
1154 "tags": [
1155 "tags",
1156 "tags"
1157 ],
1158 "temporary": true,
1159 "includeInSnippet": true,
1160 "maintainer": {
1161 "key": "key",
1162 "kind": "member",
1163 "_member": {
1164 "_links": {
1165 "self": {
1166 "href": "/api/v2/members/569f183514f4432160000007",
1167 "type": "application/json"
1168 }
1169 },
1170 "_id": "569f183514f4432160000007",
1171 "role": "admin",
1172 "email": "ariel@acme.com",
1173 "firstName": "Ariel",
1174 "lastName": "Flores"
1175 },
1176 "_team": {
1177 "customRoleKeys": [
1178 "access-to-test-projects"
1179 ],
1180 "key": "team-key-123abc",
1181 "name": "QA Team",
1182 "_links": {
1183 "key": {
1184 "href": "href",
1185 "type": "type"
1186 }
1187 }
1188 }
1189 },
1190 "_links": {
1191 "self": {
1192 "href": "href",
1193 "type": "type"
1194 },
1195 "parent": {
1196 "href": "href",
1197 "type": "type"
1198 }
1199 }
1200 },
1201 {
1202 "key": "key",
1203 "name": "name",
1204 "description": "description",
1205 "creationDate": 7,
1206 "_version": 1,
1207 "archived": true,
1208 "tags": [
1209 "tags",
1210 "tags"
1211 ],
1212 "temporary": true,
1213 "includeInSnippet": true,
1214 "maintainer": {
1215 "key": "key",
1216 "kind": "member",
1217 "_member": {
1218 "_links": {
1219 "self": {
1220 "href": "/api/v2/members/569f183514f4432160000007",
1221 "type": "application/json"
1222 }
1223 },
1224 "_id": "569f183514f4432160000007",
1225 "role": "admin",
1226 "email": "ariel@acme.com",
1227 "firstName": "Ariel",
1228 "lastName": "Flores"
1229 },
1230 "_team": {
1231 "customRoleKeys": [
1232 "access-to-test-projects"
1233 ],
1234 "key": "team-key-123abc",
1235 "name": "QA Team",
1236 "_links": {
1237 "key": {
1238 "href": "href",
1239 "type": "type"
1240 }
1241 }
1242 }
1243 },
1244 "_links": {
1245 "self": {
1246 "href": "href",
1247 "type": "type"
1248 },
1249 "parent": {
1250 "href": "href",
1251 "type": "type"
1252 }
1253 }
1254 }
1255 ],
1256 "totalCount": 4
1257 },
1258 "segmentsExpanded": {
1259 "items": [
1260 {
1261 "key": "key",
1262 "name": "name",
1263 "environmentId": "environmentId",
1264 "environmentKey": "environmentKey",
1265 "description": "description",
1266 "creationDate": 5,
1267 "lastModifiedDate": 9,
1268 "deleted": true,
1269 "tags": [
1270 "tags",
1271 "tags"
1272 ],
1273 "unbounded": true,
1274 "version": 9,
1275 "generation": 6,
1276 "_links": {
1277 "self": {
1278 "href": "href",
1279 "type": "type"
1280 },
1281 "parent": {
1282 "href": "href",
1283 "type": "type"
1284 }
1285 }
1286 },
1287 {
1288 "key": "key",
1289 "name": "name",
1290 "environmentId": "environmentId",
1291 "environmentKey": "environmentKey",
1292 "description": "description",
1293 "creationDate": 5,
1294 "lastModifiedDate": 9,
1295 "deleted": true,
1296 "tags": [
1297 "tags",
1298 "tags"
1299 ],
1300 "unbounded": true,
1301 "version": 9,
1302 "generation": 6,
1303 "_links": {
1304 "self": {
1305 "href": "href",
1306 "type": "type"
1307 },
1308 "parent": {
1309 "href": "href",
1310 "type": "type"
1311 }
1312 }
1313 }
1314 ],
1315 "totalCount": 8
1316 },
1317 "metricsExpanded": {
1318 "items": [
1319 {
1320 "key": "key",
1321 "name": "name",
1322 "creationDate": 9,
1323 "lastModified": 6,
1324 "isActive": true,
1325 "eventKey": "eventKey",
1326 "_id": "_id",
1327 "_versionId": "_versionId",
1328 "kind": "kind",
1329 "category": "category",
1330 "description": "description",
1331 "isNumeric": true,
1332 "lastSeen": 3,
1333 "_links": {
1334 "self": {
1335 "href": "href",
1336 "type": "type"
1337 },
1338 "parent": {
1339 "href": "href",
1340 "type": "type"
1341 }
1342 }
1343 },
1344 {
1345 "key": "key",
1346 "name": "name",
1347 "creationDate": 9,
1348 "lastModified": 6,
1349 "isActive": true,
1350 "eventKey": "eventKey",
1351 "_id": "_id",
1352 "_versionId": "_versionId",
1353 "kind": "kind",
1354 "category": "category",
1355 "description": "description",
1356 "isNumeric": true,
1357 "lastSeen": 3,
1358 "_links": {
1359 "self": {
1360 "href": "href",
1361 "type": "type"
1362 },
1363 "parent": {
1364 "href": "href",
1365 "type": "type"
1366 }
1367 }
1368 }
1369 ],
1370 "totalCount": 6
1371 },
1372 "aiConfigsExpanded": {
1373 "items": [
1374 {
1375 "key": "key",
1376 "name": "name",
1377 "tags": [
1378 "tags",
1379 "tags"
1380 ],
1381 "description": "description",
1382 "version": 1,
1383 "createdAt": 2,
1384 "updatedAt": 6,
1385 "flagKey": "flagKey",
1386 "_links": {
1387 "self": {
1388 "href": "href",
1389 "type": "type"
1390 },
1391 "parent": {
1392 "href": "href",
1393 "type": "type"
1394 }
1395 }
1396 },
1397 {
1398 "key": "key",
1399 "name": "name",
1400 "tags": [
1401 "tags",
1402 "tags"
1403 ],
1404 "description": "description",
1405 "version": 1,
1406 "createdAt": 2,
1407 "updatedAt": 6,
1408 "flagKey": "flagKey",
1409 "_links": {
1410 "self": {
1411 "href": "href",
1412 "type": "type"
1413 },
1414 "parent": {
1415 "href": "href",
1416 "type": "type"
1417 }
1418 }
1419 }
1420 ],
1421 "totalCount": 6
1422 },
1423 "resourcesExpanded": {
1424 "items": {
1425 "flags": {
1426 "items": [
1427 {
1428 "key": "key",
1429 "name": "name",
1430 "description": "description",
1431 "creationDate": 7,
1432 "_version": 1,
1433 "archived": true,
1434 "tags": [
1435 "tags",
1436 "tags"
1437 ],
1438 "temporary": true,
1439 "includeInSnippet": true,
1440 "maintainer": {
1441 "key": "key",
1442 "kind": "member",
1443 "_member": {
1444 "_links": {
1445 "self": {
1446 "href": "/api/v2/members/569f183514f4432160000007",
1447 "type": "application/json"
1448 }
1449 },
1450 "_id": "569f183514f4432160000007",
1451 "role": "admin",
1452 "email": "ariel@acme.com",
1453 "firstName": "Ariel",
1454 "lastName": "Flores"
1455 },
1456 "_team": {
1457 "customRoleKeys": [
1458 "access-to-test-projects"
1459 ],
1460 "key": "team-key-123abc",
1461 "name": "QA Team",
1462 "_links": {
1463 "key": {
1464 "href": "href",
1465 "type": "type"
1466 }
1467 }
1468 }
1469 },
1470 "_links": {
1471 "self": {
1472 "href": "href",
1473 "type": "type"
1474 },
1475 "parent": {
1476 "href": "href",
1477 "type": "type"
1478 }
1479 }
1480 },
1481 {
1482 "key": "key",
1483 "name": "name",
1484 "description": "description",
1485 "creationDate": 7,
1486 "_version": 1,
1487 "archived": true,
1488 "tags": [
1489 "tags",
1490 "tags"
1491 ],
1492 "temporary": true,
1493 "includeInSnippet": true,
1494 "maintainer": {
1495 "key": "key",
1496 "kind": "member",
1497 "_member": {
1498 "_links": {
1499 "self": {
1500 "href": "/api/v2/members/569f183514f4432160000007",
1501 "type": "application/json"
1502 }
1503 },
1504 "_id": "569f183514f4432160000007",
1505 "role": "admin",
1506 "email": "ariel@acme.com",
1507 "firstName": "Ariel",
1508 "lastName": "Flores"
1509 },
1510 "_team": {
1511 "customRoleKeys": [
1512 "access-to-test-projects"
1513 ],
1514 "key": "team-key-123abc",
1515 "name": "QA Team",
1516 "_links": {
1517 "key": {
1518 "href": "href",
1519 "type": "type"
1520 }
1521 }
1522 }
1523 },
1524 "_links": {
1525 "self": {
1526 "href": "href",
1527 "type": "type"
1528 },
1529 "parent": {
1530 "href": "href",
1531 "type": "type"
1532 }
1533 }
1534 }
1535 ],
1536 "totalCount": 5
1537 },
1538 "segments": {
1539 "items": [
1540 {
1541 "key": "key",
1542 "name": "name",
1543 "environmentId": "environmentId",
1544 "environmentKey": "environmentKey",
1545 "description": "description",
1546 "creationDate": 5,
1547 "lastModifiedDate": 9,
1548 "deleted": true,
1549 "tags": [
1550 "tags",
1551 "tags"
1552 ],
1553 "unbounded": true,
1554 "version": 9,
1555 "generation": 6,
1556 "_links": {
1557 "self": {
1558 "href": "href",
1559 "type": "type"
1560 },
1561 "parent": {
1562 "href": "href",
1563 "type": "type"
1564 }
1565 }
1566 },
1567 {
1568 "key": "key",
1569 "name": "name",
1570 "environmentId": "environmentId",
1571 "environmentKey": "environmentKey",
1572 "description": "description",
1573 "creationDate": 5,
1574 "lastModifiedDate": 9,
1575 "deleted": true,
1576 "tags": [
1577 "tags",
1578 "tags"
1579 ],
1580 "unbounded": true,
1581 "version": 9,
1582 "generation": 6,
1583 "_links": {
1584 "self": {
1585 "href": "href",
1586 "type": "type"
1587 },
1588 "parent": {
1589 "href": "href",
1590 "type": "type"
1591 }
1592 }
1593 }
1594 ],
1595 "totalCount": 6
1596 },
1597 "aiConfigs": {
1598 "totalCount": 3,
1599 "items": [
1600 {
1601 "createdAt": 2,
1602 "_links": {
1603 "parent": {
1604 "href": "href",
1605 "type": "type"
1606 },
1607 "self": {
1608 "href": "href",
1609 "type": "type"
1610 }
1611 },
1612 "name": "name",
1613 "description": "description",
1614 "version": 1,
1615 "key": "key",
1616 "flagKey": "flagKey",
1617 "tags": [
1618 "tags",
1619 "tags"
1620 ],
1621 "updatedAt": 6
1622 },
1623 {
1624 "createdAt": 2,
1625 "_links": {
1626 "parent": {
1627 "href": "href",
1628 "type": "type"
1629 },
1630 "self": {
1631 "href": "href",
1632 "type": "type"
1633 }
1634 },
1635 "name": "name",
1636 "description": "description",
1637 "version": 1,
1638 "key": "key",
1639 "flagKey": "flagKey",
1640 "tags": [
1641 "tags",
1642 "tags"
1643 ],
1644 "updatedAt": 6
1645 }
1646 ]
1647 },
1648 "metrics": {
1649 "totalCount": 3,
1650 "items": [
1651 {
1652 "_links": {
1653 "parent": {
1654 "href": "href",
1655 "type": "type"
1656 },
1657 "self": {
1658 "href": "href",
1659 "type": "type"
1660 }
1661 },
1662 "kind": "kind",
1663 "description": "description",
1664 "creationDate": 9,
1665 "isActive": true,
1666 "lastSeen": 3,
1667 "eventKey": "eventKey",
1668 "_versionId": "_versionId",
1669 "isNumeric": true,
1670 "name": "name",
1671 "lastModified": 6,
1672 "_id": "_id",
1673 "category": "category",
1674 "key": "key"
1675 },
1676 {
1677 "_links": {
1678 "parent": {
1679 "href": "href",
1680 "type": "type"
1681 },
1682 "self": {
1683 "href": "href",
1684 "type": "type"
1685 }
1686 },
1687 "kind": "kind",
1688 "description": "description",
1689 "creationDate": 9,
1690 "isActive": true,
1691 "lastSeen": 3,
1692 "eventKey": "eventKey",
1693 "_versionId": "_versionId",
1694 "isNumeric": true,
1695 "name": "name",
1696 "lastModified": 6,
1697 "_id": "_id",
1698 "category": "category",
1699 "key": "key"
1700 }
1701 ]
1702 }
1703 },
1704 "totalCount": 7
1705 },
1706 "generateSdkKeys": true
1707 },
1708 "flag": {
1709 "key": "key",
1710 "name": "name",
1711 "description": "description",
1712 "creationDate": 7,
1713 "_version": 1,
1714 "archived": true,
1715 "tags": [
1716 "tags",
1717 "tags"
1718 ],
1719 "temporary": true,
1720 "includeInSnippet": true,
1721 "maintainer": {
1722 "key": "key",
1723 "kind": "member",
1724 "_member": {
1725 "_links": {
1726 "self": {
1727 "href": "/api/v2/members/569f183514f4432160000007",
1728 "type": "application/json"
1729 }
1730 },
1731 "_id": "569f183514f4432160000007",
1732 "role": "admin",
1733 "email": "ariel@acme.com",
1734 "firstName": "Ariel",
1735 "lastName": "Flores"
1736 },
1737 "_team": {
1738 "customRoleKeys": [
1739 "access-to-test-projects"
1740 ],
1741 "key": "team-key-123abc",
1742 "name": "QA Team",
1743 "_links": {
1744 "key": {
1745 "href": "href",
1746 "type": "type"
1747 }
1748 }
1749 }
1750 },
1751 "_links": {
1752 "self": {
1753 "href": "href",
1754 "type": "type"
1755 },
1756 "parent": {
1757 "href": "href",
1758 "type": "type"
1759 }
1760 }
1761 },
1762 "segment": {
1763 "key": "key",
1764 "name": "name",
1765 "environmentId": "environmentId",
1766 "environmentKey": "environmentKey",
1767 "description": "description",
1768 "creationDate": 5,
1769 "lastModifiedDate": 9,
1770 "deleted": true,
1771 "tags": [
1772 "tags",
1773 "tags"
1774 ],
1775 "unbounded": true,
1776 "version": 9,
1777 "generation": 6,
1778 "_links": {
1779 "self": {
1780 "href": "href",
1781 "type": "type"
1782 },
1783 "parent": {
1784 "href": "href",
1785 "type": "type"
1786 }
1787 }
1788 },
1789 "aiConfig": {
1790 "key": "key",
1791 "name": "name",
1792 "tags": [
1793 "tags",
1794 "tags"
1795 ],
1796 "description": "description",
1797 "version": 1,
1798 "createdAt": 2,
1799 "updatedAt": 6,
1800 "flagKey": "flagKey",
1801 "_links": {
1802 "self": {
1803 "href": "href",
1804 "type": "type"
1805 },
1806 "parent": {
1807 "href": "href",
1808 "type": "type"
1809 }
1810 }
1811 },
1812 "metric": {
1813 "key": "key",
1814 "name": "name",
1815 "creationDate": 9,
1816 "lastModified": 6,
1817 "isActive": true,
1818 "eventKey": "eventKey",
1819 "_id": "_id",
1820 "_versionId": "_versionId",
1821 "kind": "kind",
1822 "category": "category",
1823 "description": "description",
1824 "isNumeric": true,
1825 "lastSeen": 3,
1826 "_links": {
1827 "self": {
1828 "href": "href",
1829 "type": "type"
1830 },
1831 "parent": {
1832 "href": "href",
1833 "type": "type"
1834 }
1835 }
1836 }
1837 }
1838 }
1839 ],
1840 "totalCount": 5,
1841 "_links": {
1842 "self": {
1843 "href": "href",
1844 "type": "type"
1845 },
1846 "first": {
1847 "href": "href",
1848 "type": "type"
1849 },
1850 "last": {
1851 "href": "href",
1852 "type": "type"
1853 },
1854 "next": {
1855 "href": "href",
1856 "type": "type"
1857 },
1858 "prev": {
1859 "href": "href",
1860 "type": "type"
1861 }
1862 }
1863}
Get a list of all linked resources for a given view.
Was this page helpful?
Previous

Get linked views for a given resource

Next
Built with

Authentication

Authorizationstring
API Key authentication via header

Path parameters

projectKeystringRequired
viewKeystringRequired
resourceTypeenumRequired
Allowed values:

Headers

LD-API-VersionenumRequired
Version of the endpoint.
Allowed values:

Query parameters

limitintegerOptional
The number of views to return.
offsetintegerOptional

Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query limit.

sortenumOptionalDefaults to linkedAt

Field to sort by. Default field is linkedAt, default order is ascending.

Allowed values:
querystringOptional

Case-insensitive search query for linked resources. Matches resource key and, when expanded, resource name.

filterstringOptional
Optional resource filter expression for linked resources. - Supported for `flags` and `segments` resource types. - Uses the same syntax as link/unlink and list endpoints. - For `segments`, `environmentId` is required when `filter` is provided.
expandlist of enumsOptional

A comma-separated list of fields to expand.

Allowed values:

Response

Successful response
itemslist of objects
totalCountinteger
_linksobject

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error

Optional resource filter expression for linked resources.

  • Supported for flags and segments resource types.
  • Uses the same syntax as link/unlink and list endpoints.
  • For segments, environmentId is required when filter is provided.