Filter By Feeds

Filter content by feed(s) in your Graphlit project.

By specifying the feeds field in the GraphQL filter object, you can filter your content by one or more feeds.

Feeds are sources of content, such as cloud storage, RSS, or a web site. Graphlit tracks where the content originated, as a form of data lineage.

For example, here we are filtering just on content that was sourced from the feed with ID 251c884b-913a-44b0-893c-1f389c5f53e4.

"feeds": [
  {
    "id": "251c884b-913a-44b0-893c-1f389c5f53e4"
  }
]

You can specify multiple feeds to filter by, and Graphlit will return content that was sourced from either feed (i.e. or semantics).

"feeds": [
  {
    "id": "251c884b-913a-44b0-893c-1f389c5f53e4"
  },
  {
    "id": "2e622580-04de-4503-b769-449b9c971f3b"
  }
]

Query:

query QueryContents($filter: ContentFilter!) {
  contents(filter: $filter) {
    results {
      id
      name
      creationDate
      state
      owner {
        id
      }
      originalDate
      finishedDate
      workflowDuration
      uri
      text
      type
      fileType
      mimeType
      fileName
      fileSize
      masterUri
      mezzanineUri
      transcriptUri
    }
  }
}

Variables:

{
  "filter": {
    "feeds": [
      {
        "id": "251c884b-913a-44b0-893c-1f389c5f53e4"
      }
    ],
    "offset": 0,
    "limit": 100
  }
}

Response:

{
  "results": [
    {
      "type": "PAGE",
      "mimeType": "text/html",
      "fileType": "DOCUMENT",
      "fileName": "dall-e-2-extending-creativity.htm",
      "fileSize": 197087,
      "masterUri": "https://graphlit20230701d31d9453.blob.core.windows.net/files/decbb9f5-e74a-41b8-9fe3-d31de8818769/dall-e-2-extending-creativity.htm",
      "mezzanineUri": "https://graphlit20230701d31d9453.blob.core.windows.net/files/decbb9f5-e74a-41b8-9fe3-d31de8818769/Mezzanine/dall-e-2-extending-creativity.json",
      "uri": "https://openai.com/blog/dall-e-2-extending-creativity",
      "id": "decbb9f5-e74a-41b8-9fe3-d31de8818769",
      "name": "https://openai.com/blog/dall-e-2-extending-creativity",
      "state": "FINISHED",
      "creationDate": "2023-07-03T07:00:48Z",
      "finishedDate": "2023-07-03T07:01:55Z",
      "workflowDuration": "PT1M7.4614059S",
      "owner": {
        "id": "9422b73d-f8d6-4faf-b7a9-152250c862a4"
      }
    },
    {
      "type": "PAGE",
      "mimeType": "text/html",
      "fileType": "DOCUMENT",
      "fileName": "chatgpt-plus.htm",
      "fileSize": 75179,
      "masterUri": "https://graphlit20230701d31d9453.blob.core.windows.net/files/b27972b4-02fe-4baa-9f50-6780b9c02d33/chatgpt-plus.htm",
      "mezzanineUri": "https://graphlit20230701d31d9453.blob.core.windows.net/files/b27972b4-02fe-4baa-9f50-6780b9c02d33/Mezzanine/chatgpt-plus.json",
      "uri": "https://openai.com/blog/chatgpt-plus",
      "id": "b27972b4-02fe-4baa-9f50-6780b9c02d33",
      "name": "https://openai.com/blog/chatgpt-plus",
      "state": "FINISHED",
      "creationDate": "2023-07-03T07:00:46Z",
      "finishedDate": "2023-07-03T07:01:33Z",
      "workflowDuration": "PT47.1727448S",
      "owner": {
        "id": "9422b73d-f8d6-4faf-b7a9-152250c862a4"
      }
    },
    {
      "type": "PAGE",
      "mimeType": "text/html",
      "fileType": "DOCUMENT",
      "fileName": "customizing-gpt-3.htm",
      "fileSize": 124251,
      "masterUri": "https://graphlit20230701d31d9453.blob.core.windows.net/files/64e2d6f2-4276-45a5-8fd9-4b148b32e6d2/customizing-gpt-3.htm",
      "mezzanineUri": "https://graphlit20230701d31d9453.blob.core.windows.net/files/64e2d6f2-4276-45a5-8fd9-4b148b32e6d2/Mezzanine/customizing-gpt-3.json",
      "uri": "https://openai.com/blog/customizing-gpt-3",
      "id": "64e2d6f2-4276-45a5-8fd9-4b148b32e6d2",
      "name": "https://openai.com/blog/customizing-gpt-3",
      "state": "FINISHED",
      "creationDate": "2023-07-03T07:00:46Z",
      "finishedDate": "2023-07-03T07:01:45Z",
      "workflowDuration": "PT59.3483063S",
      "owner": {
        "id": "9422b73d-f8d6-4faf-b7a9-152250c862a4"
      }
    },
    {
      "type": "PAGE",
      "mimeType": "text/html",
      "fileType": "DOCUMENT",
      "fileName": "codex-apps.htm",
      "fileSize": 87705,
      "masterUri": "https://graphlit20230701d31d9453.blob.core.windows.net/files/360158fe-ae29-4bca-9f07-644bfe9bab90/codex-apps.htm",
      "mezzanineUri": "https://graphlit20230701d31d9453.blob.core.windows.net/files/360158fe-ae29-4bca-9f07-644bfe9bab90/Mezzanine/codex-apps.json",
      "uri": "https://openai.com/blog/codex-apps",
      "id": "360158fe-ae29-4bca-9f07-644bfe9bab90",
      "name": "https://openai.com/blog/codex-apps",
      "state": "FINISHED",
      "creationDate": "2023-07-03T07:00:46Z",
      "finishedDate": "2023-07-03T07:01:54Z",
      "workflowDuration": "PT1M7.618789S",
      "owner": {
        "id": "9422b73d-f8d6-4faf-b7a9-152250c862a4"
      }
    },
    {
      "type": "PAGE",
      "mimeType": "text/html",
      "fileType": "DOCUMENT",
      "fileName": "chatgpt.htm",
      "fileSize": 164060,
      "masterUri": "https://graphlit20230701d31d9453.blob.core.windows.net/files/fd45ea2f-d73c-444e-a755-46e0e077117d/chatgpt.htm",
      "mezzanineUri": "https://graphlit20230701d31d9453.blob.core.windows.net/files/fd45ea2f-d73c-444e-a755-46e0e077117d/Mezzanine/chatgpt.json",
      "uri": "https://openai.com/blog/chatgpt",
      "id": "fd45ea2f-d73c-444e-a755-46e0e077117d",
      "name": "https://openai.com/blog/chatgpt",
      "state": "FINISHED",
      "creationDate": "2023-07-03T07:00:45Z",
      "finishedDate": "2023-07-03T07:02:34Z",
      "workflowDuration": "PT1M49.2598984S",
      "owner": {
        "id": "9422b73d-f8d6-4faf-b7a9-152250c862a4"
      }
    },
    {
      "type": "PAGE",
      "mimeType": "text/html",
      "fileType": "DOCUMENT",
      "fileName": "chatgpt-plugins.htm",
      "fileSize": 171025,
      "masterUri": "https://graphlit20230701d31d9453.blob.core.windows.net/files/76bff7b1-f24e-41d6-ae83-da3c7b1715ea/chatgpt-plugins.htm",
      "mezzanineUri": "https://graphlit20230701d31d9453.blob.core.windows.net/files/76bff7b1-f24e-41d6-ae83-da3c7b1715ea/Mezzanine/chatgpt-plugins.json",
      "uri": "https://openai.com/blog/chatgpt-plugins",
      "id": "76bff7b1-f24e-41d6-ae83-da3c7b1715ea",
      "name": "https://openai.com/blog/chatgpt-plugins",
      "state": "FINISHED",
      "creationDate": "2023-07-03T07:00:45Z",
      "finishedDate": "2023-07-03T07:02:15Z",
      "workflowDuration": "PT1M30.4805027S",
      "owner": {
        "id": "9422b73d-f8d6-4faf-b7a9-152250c862a4"
      }
    },
    {
      "type": "PAGE",
      "mimeType": "text/html",
      "fileType": "DOCUMENT",
      "fileName": "bug-bounty-program.htm",
      "fileSize": 78810,
      "masterUri": "https://graphlit20230701d31d9453.blob.core.windows.net/files/efa57a47-4953-4022-acba-301baf221e06/bug-bounty-program.htm",
      "mezzanineUri": "https://graphlit20230701d31d9453.blob.core.windows.net/files/efa57a47-4953-4022-acba-301baf221e06/Mezzanine/bug-bounty-program.json",
      "uri": "https://openai.com/blog/bug-bounty-program",
      "id": "efa57a47-4953-4022-acba-301baf221e06",
      "name": "https://openai.com/blog/bug-bounty-program",
      "state": "FINISHED",
      "creationDate": "2023-07-03T07:00:45Z",
      "finishedDate": "2023-07-03T07:01:47Z",
      "workflowDuration": "PT1M1.9791148S",
      "owner": {
        "id": "9422b73d-f8d6-4faf-b7a9-152250c862a4"
      }
    },
    {
      "type": "PAGE",
      "mimeType": "text/html",
      "fileType": "DOCUMENT",
      "fileName": "api-no-waitlist.htm",
      "fileSize": 80960,
      "masterUri": "https://graphlit20230701d31d9453.blob.core.windows.net/files/0a346b35-4eaa-4f56-bf8f-46f566a477e2/api-no-waitlist.htm",
      "mezzanineUri": "https://graphlit20230701d31d9453.blob.core.windows.net/files/0a346b35-4eaa-4f56-bf8f-46f566a477e2/Mezzanine/api-no-waitlist.json",
      "uri": "https://openai.com/blog/api-no-waitlist",
      "id": "0a346b35-4eaa-4f56-bf8f-46f566a477e2",
      "name": "https://openai.com/blog/api-no-waitlist",
      "state": "FINISHED",
      "creationDate": "2023-07-03T07:00:41Z",
      "finishedDate": "2023-07-03T07:01:46Z",
      "workflowDuration": "PT1M5.2833511S",
      "owner": {
        "id": "9422b73d-f8d6-4faf-b7a9-152250c862a4"
      }
    },
    {
      "type": "PAGE",
      "mimeType": "text/html",
      "fileType": "DOCUMENT",
      "fileName": "blog.htm",
      "fileSize": 119836,
      "masterUri": "https://graphlit20230701d31d9453.blob.core.windows.net/files/66614aa6-6ff0-46ed-bc9f-df1e2fa8dc2e/blog.htm",
      "mezzanineUri": "https://graphlit20230701d31d9453.blob.core.windows.net/files/66614aa6-6ff0-46ed-bc9f-df1e2fa8dc2e/Mezzanine/blog.json",
      "uri": "https://openai.com/blog",
      "id": "66614aa6-6ff0-46ed-bc9f-df1e2fa8dc2e",
      "name": "https://openai.com/blog",
      "state": "FINISHED",
      "creationDate": "2023-07-03T07:00:41Z",
      "finishedDate": "2023-07-03T07:01:51Z",
      "workflowDuration": "PT1M9.9080145S",
      "owner": {
        "id": "9422b73d-f8d6-4faf-b7a9-152250c862a4"
      }
    },
    {
      "type": "PAGE",
      "mimeType": "text/html",
      "fileType": "DOCUMENT",
      "fileName": "best-practices-for-deploying-language-models.htm",
      "fileSize": 86040,
      "masterUri": "https://graphlit20230701d31d9453.blob.core.windows.net/files/c28bac91-ec11-447a-9325-8f5a772b1050/best-practices-for-deploying-language-models.htm",
      "mezzanineUri": "https://graphlit20230701d31d9453.blob.core.windows.net/files/c28bac91-ec11-447a-9325-8f5a772b1050/Mezzanine/best-practices-for-deploying-language-models.json",
      "uri": "https://openai.com/blog/best-practices-for-deploying-language-models",
      "id": "c28bac91-ec11-447a-9325-8f5a772b1050",
      "name": "https://openai.com/blog/best-practices-for-deploying-language-models",
      "state": "FINISHED",
      "creationDate": "2023-07-03T07:00:41Z",
      "finishedDate": "2023-07-03T07:01:42Z",
      "workflowDuration": "PT1M0.8826327S",
      "owner": {
        "id": "9422b73d-f8d6-4faf-b7a9-152250c862a4"
      }
    }
  ]
}

Last updated